mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +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