Remove pending flag once attachment is downloaded
This commit is contained in:
parent
9295096586
commit
e5aef6ad44
1 changed files with 7 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue