From 6bfeb7ab1447d7f996eb631cb536a40960d1b74a Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 7 Jun 2017 08:55:18 -0700 Subject: [PATCH] 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 --- js/models/conversations.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/models/conversations.js b/js/models/conversations.js index c1c98abc8..5a7a86407 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -165,7 +165,6 @@ message.save(); this.save({ - unreadCount : 0, active_at : now, timestamp : now, lastMessage : message.getNotificationText()