Fix window title update on accounts switch.

This commit is contained in:
John Preston 2023-01-12 11:35:50 +04:00
parent 02f3985125
commit d346925b9d
1 changed files with 1 additions and 3 deletions

View File

@ -133,9 +133,7 @@ void Controller::showAccount(
) | rpl::start_with_next([=] { ) | rpl::start_with_next([=] {
_widget.updateTitle(); _widget.updateTitle();
}, _sessionController->lifetime()); }, _sessionController->lifetime());
if (_sessionController->activeChatCurrent().thread()) { _widget.updateTitle();
_widget.updateTitle();
}
session->updates().updateOnline(crl::now()); session->updates().updateOnline(crl::now());
} else { } else {