diff --git a/lib/src/client.dart b/lib/src/client.dart index 4f6be05..560c50d 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -706,7 +706,7 @@ class Client { if (_accessToken == null || _homeserver == null || _userID == null) { // we aren't logged in - onLoginStateChanged.add(LoginState.logged); + onLoginStateChanged.add(LoginState.loggedOut); return; }