mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
While in mobile mode notifications are no longer counted for channels set to 'quiet mode' that are not direct mentions.
This commit is contained in:
@@ -28,7 +28,7 @@ function getCountsStateFromStores() {
|
||||
} else {
|
||||
if (channelMember.mention_count > 0) {
|
||||
count += channelMember.mention_count;
|
||||
} else if (channel.total_msg_count - channelMember.msg_count > 0) {
|
||||
} else if (channelMember.notify_level !== "quiet" && channel.total_msg_count - channelMember.msg_count > 0) {
|
||||
count += 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user