mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Merge pull request #2895 from matrix-org/travis/return-client
Always return a client from onRegistered
This commit is contained in:
commit
12a9416741
1 changed files with 1 additions and 1 deletions
|
@ -1772,7 +1772,7 @@ export default React.createClass({
|
|||
hasCancelButton: false,
|
||||
});
|
||||
|
||||
return;
|
||||
return MatrixClientPeg.get();
|
||||
}
|
||||
}
|
||||
return Lifecycle.setLoggedIn(credentials);
|
||||
|
|
Loading…
Reference in a new issue