mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Correctly count 'other accounts unread' in menu.
This commit is contained in:
@@ -891,6 +891,7 @@ void Widget::setupMainMenuToggle() {
|
||||
}, lifetime());
|
||||
|
||||
Window::OtherAccountsUnreadState(
|
||||
&controller()->session().account()
|
||||
) | rpl::start_with_next([=](const Window::OthersUnreadState &state) {
|
||||
const auto icon = !state.count
|
||||
? nullptr
|
||||
|
Reference in New Issue
Block a user