You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
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.
This commit is contained in:
@@ -1772,7 +1772,7 @@ export default React.createClass({
|
||||
hasCancelButton: false,
|
||||
});
|
||||
|
||||
return;
|
||||
return MatrixClientPeg.get();
|
||||
}
|
||||
}
|
||||
return Lifecycle.setLoggedIn(credentials);
|
||||
|
||||
Reference in New Issue
Block a user