Merge branch 'soru/fix-logged-state' into 'master'
fix logged state on connect() See merge request famedly/famedlysdk!298
This commit is contained in:
commit
f97ffb05c2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue