summaryrefslogtreecommitdiffstats
path: root/webapp/stores/channel_store.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-08-24 20:13:26 -0400
committerCorey Hulen <corey@hulen.com>2016-08-24 16:13:26 -0800
commit8efa4dc9a5156c511aae8e3984795e55d4b7947f (patch)
tree2672471bb11b2cd84a98f4e7bfc22eaee45dacf9 /webapp/stores/channel_store.jsx
parent7bd26b19273e17ad0b6fb9e7fb89d04b9e171cfe (diff)
downloadchat-8efa4dc9a5156c511aae8e3984795e55d4b7947f.tar.gz
chat-8efa4dc9a5156c511aae8e3984795e55d4b7947f.tar.bz2
chat-8efa4dc9a5156c511aae8e3984795e55d4b7947f.zip
Fixed number in title not appearing for direct messages (#3875)
Diffstat (limited to 'webapp/stores/channel_store.jsx')
-rw-r--r--webapp/stores/channel_store.jsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/webapp/stores/channel_store.jsx b/webapp/stores/channel_store.jsx
index 8fc0df17f..0f2ef9dc0 100644
--- a/webapp/stores/channel_store.jsx
+++ b/webapp/stores/channel_store.jsx
@@ -329,7 +329,6 @@ class ChannelStoreClass extends EventEmitter {
if (ch.type === 'D') {
chMentionCount = chUnreadCount;
- chUnreadCount = 0;
} else if (chMember.notify_props && chMember.notify_props.mark_unread === NotificationPrefs.MENTION) {
chUnreadCount = 0;
}