Merge branch 'krille/fix-clear-rooms' into 'master'

Fix clear rooms

See merge request famedly/famedlysdk!270
This commit is contained in:
Christian Pauly 2020-05-04 06:23:47 +00:00
commit 19f0f23719

View file

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