Fix window title update on accounts switch.
This commit is contained in:
parent
02f3985125
commit
d346925b9d
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue