See issue #142:
"When user selects "Turn notifications off" for a certain chat, new notification count for that chat should not be taken into account when new message count appears in tray! But now it is! In other words, the counter of new messages in tray summarizes all the new message counts for all the chats irrespectively whether they are muted or not!"
See issue #142: "When user selects "Turn notifications off" for a certain chat, new notification count for that chat should not be taken into account when new message count appears in tray! But now it is! In other words, the counter of new messages in tray summarizes all the new message counts for all the chats irrespectively whether they are muted or not!"
This pull request fixes this issue!