diff --git a/ts/jobs/AttachmentDownloadManager.ts b/ts/jobs/AttachmentDownloadManager.ts index fd5d475cb0..f4a87dfb05 100644 --- a/ts/jobs/AttachmentDownloadManager.ts +++ b/ts/jobs/AttachmentDownloadManager.ts @@ -598,9 +598,13 @@ async function runDownloadAttachmentJobInner( const upgradedAttachment = await window.Signal.Migrations.processNewAttachment(downloaded); - await addAttachmentToMessage(message, omit(upgradedAttachment, 'error'), { - type, - }); + await addAttachmentToMessage( + message, + omit(upgradedAttachment, ['error', 'pending']), + { + type, + } + ); } function _markAttachmentAsTooBig(attachment: AttachmentType): AttachmentType {