From 6f9a52bb5a661d70df20aefed06dc808288d2b8a Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Mon, 4 May 2020 08:19:15 +0200 Subject: [PATCH] Fix clear rooms --- lib/src/client.dart | 1 + 1 file changed, 1 insertion(+) 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); }