Always return a client from onRegistered
Fixes https://github.com/vector-im/riot-web/issues/9406 The return value of onRegistered eventually ends up in the pusher setup, which means we were passing undefined through the stack.pull/21833/head
parent
054011f5f8
commit
7407950c75
|
@ -1772,7 +1772,7 @@ export default React.createClass({
|
|||
hasCancelButton: false,
|
||||
});
|
||||
|
||||
return;
|
||||
return MatrixClientPeg.get();
|
||||
}
|
||||
}
|
||||
return Lifecycle.setLoggedIn(credentials);
|
||||
|
|
Loading…
Reference in New Issue