Hide unread counter inside View as Messages.

This commit is contained in:
John Preston 2022-11-05 17:48:40 +04:00
parent 080ab26804
commit 9dcea2cdef
1 changed files with 3 additions and 2 deletions

View File

@ -2966,8 +2966,9 @@ void HistoryWidget::unreadCountUpdated() {
} }
}); });
} else { } else {
_cornerButtons.updateJumpDownVisibility( _cornerButtons.updateJumpDownVisibility(_history->peer->isForum()
_history->chatListBadgesState().unreadCounter); ? 0
: _history->chatListBadgesState().unreadCounter);
} }
} }