Convo list shows 'Media message' when appropriate
// FREEBIE
This commit is contained in:
@@ -307,12 +307,12 @@
|
||||
if (!conversation_timestamp || message.get('sent_at') > conversation_timestamp) {
|
||||
conversation.set({
|
||||
timestamp: message.get('sent_at'),
|
||||
lastMessage: message.getDescription()
|
||||
lastMessage: message.getNotificationText()
|
||||
});
|
||||
}
|
||||
else if (!conversation.get('lastMessage')) {
|
||||
conversation.set({
|
||||
lastMessage: message.getDescription()
|
||||
lastMessage: message.getNotificationText()
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user