Convo list shows 'Media message' when appropriate
// FREEBIE
This commit is contained in:
parent
503509fc8f
commit
c64fe8410e
2 changed files with 3 additions and 3 deletions
|
@ -104,7 +104,7 @@
|
|||
unreadCount : 0,
|
||||
active_at : now,
|
||||
timestamp : now,
|
||||
lastMessage : body
|
||||
lastMessage : message.getNotificationText()
|
||||
});
|
||||
|
||||
var sendFunc;
|
||||
|
|
|
@ -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()
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue