Fix clear rooms

This commit is contained in:
Christian Pauly 2020-05-04 08:19:15 +02:00
parent a72f25dcfa
commit 6f9a52bb5a
1 changed files with 1 additions and 0 deletions

View File

@ -752,6 +752,7 @@ class Client {
storeAPI?.clear();
_accessToken = _homeserver =
_userID = _deviceID = _deviceName = _matrixVersions = prevBatch = null;
_rooms = [];
onLoginStateChanged.add(LoginState.loggedOut);
}