fix logged state on connect()

This commit is contained in:
Sorunome 2020-05-16 10:03:59 +02:00
parent d6f4dba6e7
commit 77bfd9b19d
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C

View file

@ -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;
}