Fix for missing replacement text in bodyRanges
This commit is contained in:
parent
dab5386207
commit
3cc6c5f5ad
6 changed files with 72 additions and 38 deletions
|
@ -3614,8 +3614,15 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
(this.getConversation()!.getAccepted() || message.isOutgoing()) &&
|
||||
!shouldHoldOffDownload
|
||||
) {
|
||||
window.attachmentDownloadQueue = window.attachmentDownloadQueue || [];
|
||||
window.attachmentDownloadQueue.unshift(message);
|
||||
if (window.attachmentDownloadQueue) {
|
||||
window.attachmentDownloadQueue.unshift(message);
|
||||
window.log.info(
|
||||
'Adding to attachmentDownloadQueue',
|
||||
message.get('sent_at')
|
||||
);
|
||||
} else {
|
||||
await message.queueAttachmentDownloads();
|
||||
}
|
||||
}
|
||||
|
||||
// Does this message have any pending, previously-received associated reactions?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue