fix logged state on connect()
This commit is contained in:
parent
d6f4dba6e7
commit
77bfd9b19d
|
@ -706,7 +706,7 @@ class Client {
|
||||||
|
|
||||||
if (_accessToken == null || _homeserver == null || _userID == null) {
|
if (_accessToken == null || _homeserver == null || _userID == null) {
|
||||||
// we aren't logged in
|
// we aren't logged in
|
||||||
onLoginStateChanged.add(LoginState.logged);
|
onLoginStateChanged.add(LoginState.loggedOut);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue