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,
|
hasCancelButton: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
return;
|
return MatrixClientPeg.get();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Lifecycle.setLoggedIn(credentials);
|
return Lifecycle.setLoggedIn(credentials);
|
||||||
|
|
Loading…
Reference in a new issue