2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-04 00:25:17 +00:00

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

View File

@@ -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 {