Merge pull request #2895 from matrix-org/travis/return-client

Always return a client from onRegistered
pull/21833/head
Travis Ralston 2019-04-09 09:06:33 -06:00 committed by GitHub
commit 12a9416741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1772,7 +1772,7 @@ export default React.createClass({
hasCancelButton: false, hasCancelButton: false,
}); });
return; return MatrixClientPeg.get();
} }
} }
return Lifecycle.setLoggedIn(credentials); return Lifecycle.setLoggedIn(credentials);