diff options
Diffstat (limited to 'webapp/stores')
-rw-r--r-- | webapp/stores/channel_store.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/stores/channel_store.jsx b/webapp/stores/channel_store.jsx index 542fbdf6b..8fc0df17f 100644 --- a/webapp/stores/channel_store.jsx +++ b/webapp/stores/channel_store.jsx @@ -325,7 +325,7 @@ class ChannelStoreClass extends EventEmitter { const chMember = this.getMember(id); let chMentionCount = chMember.mention_count; - let chUnreadCount = ch.total_msg_count - chMember.msg_count - chMentionCount; + let chUnreadCount = ch.total_msg_count - chMember.msg_count; if (ch.type === 'D') { chMentionCount = chUnreadCount; |