Added support of unread poll votes to corner button from history widget.

This commit is contained in:
23rd
2026-03-24 12:37:53 +03:00
parent d1406f3f17
commit b01e0b77fe
32 changed files with 481 additions and 25 deletions
+5 -1
View File
@@ -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;
}