mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Fix: Show attachment views; they trigger update syncrhonously
FREEBIE
This commit is contained in:
@@ -295,13 +295,14 @@
|
||||
model: attachment,
|
||||
timestamp: this.model.get('sent_at')
|
||||
});
|
||||
view.render();
|
||||
this.loadedAttachments.push(view);
|
||||
|
||||
this.listenTo(view, 'update', function() {
|
||||
view.updated = true;
|
||||
this.appendAttachmentView(view);
|
||||
});
|
||||
|
||||
view.render();
|
||||
}.bind(this));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user