Merge branch 'soru/fix-logged-state' into 'master'

fix logged state on connect()

See merge request famedly/famedlysdk!298
This commit is contained in:
Christian Pauly 2020-05-16 08:14:17 +00:00
commit f97ffb05c2

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