Merge pull request #99 from matrix-org/user_settings_on_register
Show user settings screen on registration
This commit is contained in:
commit
1c54c64850
1 changed files with 9 additions and 1 deletions
|
@ -737,7 +737,15 @@ module.exports = React.createClass({
|
||||||
onRegistered: function(credentials) {
|
onRegistered: function(credentials) {
|
||||||
this.onLoggedIn(credentials);
|
this.onLoggedIn(credentials);
|
||||||
// do post-registration stuff
|
// do post-registration stuff
|
||||||
this.showScreen("post_registration");
|
// This now goes straight to user settings
|
||||||
|
// We use _setPage since if we wait for
|
||||||
|
// showScreen to do the dispatch loop,
|
||||||
|
// the showScreen dispatch will race with the
|
||||||
|
// sdk sync finishing and we'll probably see
|
||||||
|
// the page type still unset when the MatrixClient
|
||||||
|
// is started and show the Room Directory instead.
|
||||||
|
//this.showScreen("view_user_settings");
|
||||||
|
this._setPage(this.PageTypes.UserSettings);
|
||||||
},
|
},
|
||||||
|
|
||||||
onFinishPostRegistration: function() {
|
onFinishPostRegistration: function() {
|
||||||
|
|
Loading…
Reference in a new issue