Message Requests: Show blurhash for pending stickers
This commit is contained in:
parent
0c6f4248f3
commit
2977c0ca3d
3 changed files with 58 additions and 9 deletions
|
@ -1299,7 +1299,17 @@ export class ConversationModel extends window.Backbone.Model<
|
|||
}
|
||||
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
await Promise.all(readMessages.map(m => m.queueAttachmentDownloads()));
|
||||
await Promise.all(
|
||||
readMessages.map(async m => {
|
||||
const registered = window.MessageController.register(m.id, m);
|
||||
const shouldSave = await registered.queueAttachmentDownloads();
|
||||
if (shouldSave) {
|
||||
await window.Signal.Data.saveMessage(registered.attributes, {
|
||||
Message: window.Whisper.Message,
|
||||
});
|
||||
}
|
||||
})
|
||||
);
|
||||
} while (messages.length > 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue