diff options
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/notify_counts.jsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/webapp/components/notify_counts.jsx b/webapp/components/notify_counts.jsx index d49925780..55ede2d90 100644 --- a/webapp/components/notify_counts.jsx +++ b/webapp/components/notify_counts.jsx @@ -13,7 +13,7 @@ function getCountsStateFromStores() { teamMembers.forEach((member) => { if (member.team_id !== TeamStore.getCurrentId()) { - count += ((member.msg_count || 0) + (member.mention_count || 0)); + count += (member.mention_count || 0); } }); @@ -27,8 +27,6 @@ function getCountsStateFromStores() { count += channel.total_msg_count - channelMember.msg_count; } else if (channelMember.mention_count > 0) { count += channelMember.mention_count; - } else if (channelMember.notify_props.mark_unread !== 'mention' && channel.total_msg_count - channelMember.msg_count > 0) { - count += 1; } }); |