mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Bring lastMessage and lastMessageStatus back to conversation
This commit is contained in:
@@ -224,7 +224,13 @@
|
||||
|
||||
this._initialFetchComplete = true;
|
||||
await Promise.all(
|
||||
conversations.map(conversation => conversation.updateLastMessage())
|
||||
conversations.map(conversation => {
|
||||
if (!conversation.get('lastMessage')) {
|
||||
return conversation.updateLastMessage();
|
||||
}
|
||||
|
||||
return null;
|
||||
})
|
||||
);
|
||||
window.log.info('ConversationController: done with initial fetch');
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user