From fb25d90b48a0ef36d39c6b6a59e135536f4543d9 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 7 May 2025 18:03:46 +0400 Subject: [PATCH] Hide weird unread badge in new-window forum. --- .../SourceFiles/history/view/history_view_top_bar_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp index 2b25656355..c4548ee4bf 100644 --- a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp @@ -1525,7 +1525,7 @@ void TopBarWidget::refreshUnreadBadge() { geometry.y() + st::titleUnreadCounterTop); }, _unreadBadge->lifetime()); - _unreadBadge->show(); + _unreadBadge->setVisible(!rootChatsListBar()); _unreadBadge->setAttribute(Qt::WA_TransparentForMouseEvents); _controller->session().data().unreadBadgeChanges( ) | rpl::start_with_next([=] {