mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-04 23:40:58 +00:00
Fix crash in update online on logout.
This commit is contained in:
parent
a95b756111
commit
2ef47222f4
@ -85,9 +85,6 @@ void Controller::showAccount(not_null<Main::Account*> account) {
|
|||||||
setupIntro();
|
setupIntro();
|
||||||
_widget.updateGlobalMenu();
|
_widget.updateGlobalMenu();
|
||||||
}
|
}
|
||||||
if (was) {
|
|
||||||
was->session().updates().updateOnline();
|
|
||||||
}
|
|
||||||
}, _accountLifetime);
|
}, _accountLifetime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user