From d346925b9d9bf0005466cc17b54896e403581bf1 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 12 Jan 2023 11:35:50 +0400 Subject: [PATCH] Fix window title update on accounts switch. --- Telegram/SourceFiles/window/window_controller.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/window/window_controller.cpp b/Telegram/SourceFiles/window/window_controller.cpp index 3d4fa8fa45..f301ebe8d8 100644 --- a/Telegram/SourceFiles/window/window_controller.cpp +++ b/Telegram/SourceFiles/window/window_controller.cpp @@ -133,9 +133,7 @@ void Controller::showAccount( ) | rpl::start_with_next([=] { _widget.updateTitle(); }, _sessionController->lifetime()); - if (_sessionController->activeChatCurrent().thread()) { - _widget.updateTitle(); - } + _widget.updateTitle(); session->updates().updateOnline(crl::now()); } else {