mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed online status stuck when switching between accounts one more time.
The first attempt to fix this bug is here:8171ed6c12. It caused crash so it was reverted here:2ef47222f4.
This commit is contained in:
@@ -157,6 +157,7 @@ Session::Session(
|
||||
|
||||
// Can be called only right before ~Session.
|
||||
void Session::finishLogout() {
|
||||
updates().updateOnline();
|
||||
unlockTerms();
|
||||
data().clear();
|
||||
data().clearLocalStorage();
|
||||
|
||||
Reference in New Issue
Block a user