Conversation.sendMessage: Don't set unreadCount to zero
This is no longer guaranteed to be true. If you're scrolled up in a conversation, you may not have read all messages. Setting the unreadCount to zero will prevent the user from marking any of their existing messages as unread until something else happens, like receiving a read receipt or new message. FREEBIE
This commit is contained in:
parent
42608849bd
commit
6bfeb7ab14
1 changed files with 0 additions and 1 deletions
|
@ -165,7 +165,6 @@
|
|||
message.save();
|
||||
|
||||
this.save({
|
||||
unreadCount : 0,
|
||||
active_at : now,
|
||||
timestamp : now,
|
||||
lastMessage : message.getNotificationText()
|
||||
|
|
Loading…
Reference in a new issue