diff --git a/lib/src/client.dart b/lib/src/client.dart index 60acc71..0f2ce1c 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -752,6 +752,7 @@ class Client { storeAPI?.clear(); _accessToken = _homeserver = _userID = _deviceID = _deviceName = _matrixVersions = prevBatch = null; + _rooms = []; onLoginStateChanged.add(LoginState.loggedOut); }