Restore setting lastMessage in handleDataMessage
This commit is contained in:
parent
0e31644c28
commit
08e8c00329
1 changed files with 1 additions and 0 deletions
|
@ -432,6 +432,7 @@
|
||||||
var conversation_timestamp = conversation.get('timestamp');
|
var conversation_timestamp = conversation.get('timestamp');
|
||||||
if (!conversation_timestamp || message.get('sent_at') > conversation_timestamp) {
|
if (!conversation_timestamp || message.get('sent_at') > conversation_timestamp) {
|
||||||
conversation.set({
|
conversation.set({
|
||||||
|
lastMessage : message.getNotificationText(),
|
||||||
timestamp: message.get('sent_at')
|
timestamp: message.get('sent_at')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue