mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Cache messages on receipt, remove from cache when processed
FREEBIE
This commit is contained in:
@@ -27,9 +27,9 @@
|
||||
message.get('source') === receipt.get('sender'));
|
||||
});
|
||||
if (message) {
|
||||
this.remove(receipt);
|
||||
message.markRead(receipt.get('read_at')).then(function() {
|
||||
this.notifyConversation(message);
|
||||
this.remove(receipt);
|
||||
}.bind(this));
|
||||
} else {
|
||||
console.log('No message for read receipt');
|
||||
|
||||
Reference in New Issue
Block a user