Fix crash in update online on logout.

This commit is contained in:
John Preston 2020-06-30 17:17:07 +04:00
parent a95b756111
commit 2ef47222f4

View File

@ -85,9 +85,6 @@ void Controller::showAccount(not_null<Main::Account*> account) {
setupIntro();
_widget.updateGlobalMenu();
}
if (was) {
was->session().updates().updateOnline();
}
}, _accountLifetime);
}