diff --git a/ts/components/session/conversation/SessionRecording.tsx b/ts/components/session/conversation/SessionRecording.tsx index 63ee29b35..7b6cf12dd 100644 --- a/ts/components/session/conversation/SessionRecording.tsx +++ b/ts/components/session/conversation/SessionRecording.tsx @@ -95,13 +95,7 @@ class SessionRecordingInner extends React.Component { // tslint:disable-next-line: cyclomatic-complexity public render() { - const { - isPlaying, - isPaused, - isRecording, - startTimestamp, - nowTimestamp, - } = this.state; + const { isPlaying, isPaused, isRecording, startTimestamp, nowTimestamp } = this.state; const hasRecordingAndPaused = !isRecording && !isPlaying; const hasRecording = !!this.audioElement?.duration && this.audioElement?.duration > 0; diff --git a/ts/receiver/attachments.ts b/ts/receiver/attachments.ts index a9134a75e..a4b804fb0 100644 --- a/ts/receiver/attachments.ts +++ b/ts/receiver/attachments.ts @@ -171,12 +171,12 @@ async function processPreviews(message: MessageModel, convo: ConversationModel): const image = message.isTrustedForAttachmentDownload() ? await AttachmentDownloads.addJob(item.image, { - messageId: message.id, - type: 'preview', - index, - isOpenGroupV2, - openGroupV2Details, - }) + messageId: message.id, + type: 'preview', + index, + isOpenGroupV2, + openGroupV2Details, + }) : null; return { ...item, image };