Keep conversation.lastMessage in memory
This commit is contained in:
@@ -782,11 +782,12 @@
|
||||
});
|
||||
|
||||
const message = this.addSingleMessage(messageWithSchema);
|
||||
this.lastMessage = message.getNotificationText();
|
||||
this.lastMessageStatus = 'sending';
|
||||
|
||||
this.save({
|
||||
active_at: now,
|
||||
timestamp: now,
|
||||
lastMessage: message.getNotificationText(),
|
||||
lastMessageStatus: 'sending',
|
||||
});
|
||||
|
||||
if (this.isPrivate()) {
|
||||
|
Reference in New Issue
Block a user