Merge branch 'krille/fix-clear-rooms' into 'master'
Fix clear rooms See merge request famedly/famedlysdk!270
This commit is contained in:
commit
19f0f23719
|
@ -752,6 +752,7 @@ class Client {
|
||||||
storeAPI?.clear();
|
storeAPI?.clear();
|
||||||
_accessToken = _homeserver =
|
_accessToken = _homeserver =
|
||||||
_userID = _deviceID = _deviceName = _matrixVersions = prevBatch = null;
|
_userID = _deviceID = _deviceName = _matrixVersions = prevBatch = null;
|
||||||
|
_rooms = [];
|
||||||
onLoginStateChanged.add(LoginState.loggedOut);
|
onLoginStateChanged.add(LoginState.loggedOut);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue