Change group_update field of message after avatar download queued

This commit is contained in:
Scott Nonnenberg 2019-06-25 13:46:50 -07:00
parent d5d8df3bf6
commit de78d42ad5
1 changed files with 2 additions and 1 deletions

View File

@ -1646,6 +1646,7 @@
let group = this.get('group_update');
if (group && group.avatar) {
count += 1;
group = {
...group,
avatar: await window.Signal.AttachmentDownloads.addJob(group.avatar, {
@ -1709,7 +1710,7 @@
preview,
contact,
quote,
group,
group_update: group,
sticker,
});