mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-07-08 22:34:04 +01:00
Conversation.markRead: Return a promise so queueJob works
FREEBIE
This commit is contained in:
@@ -310,7 +310,7 @@
|
||||
conversationId: conversationId
|
||||
}));
|
||||
|
||||
this.getUnread().then(function(unreadMessages) {
|
||||
return this.getUnread().then(function(unreadMessages) {
|
||||
var oldUnread = unreadMessages.filter(function(message) {
|
||||
return message.get('received_at') <= newestUnreadDate;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user