mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-28 08:22:31 +00:00
Added support of unread poll votes to corner button from history widget.
This commit is contained in:
@@ -387,7 +387,11 @@ Dialogs::BadgesState Folder::chatListBadgesState() const {
|
||||
chatListUnreadState(),
|
||||
Dialogs::CountInBadge::Chats,
|
||||
Dialogs::IncludeInBadge::All);
|
||||
result.unreadMuted = result.mentionMuted = result.reactionMuted = true;
|
||||
result.unreadMuted
|
||||
= result.mentionMuted
|
||||
= result.reactionMuted
|
||||
= result.pollMuted
|
||||
= true;
|
||||
if (result.unread && !result.unreadCounter) {
|
||||
result.unreadCounter = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user