mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
Don't forget to show the homepage if no welcome user
This commit is contained in:
parent
8fa50b26a6
commit
929e9dc653
1 changed files with 6 additions and 1 deletions
|
@ -1191,9 +1191,14 @@ export default React.createClass({
|
|||
return;
|
||||
}
|
||||
}
|
||||
// The user has just logged in after registering
|
||||
// We didn't rediret to the welcome user room, so show
|
||||
// the homepage.
|
||||
dis.dispatch({action: 'view_home_page'});
|
||||
});
|
||||
} else {
|
||||
// The user has just logged in after registering,
|
||||
// so show the homepage.
|
||||
dis.dispatch({action: 'view_home_page'});
|
||||
}
|
||||
} else {
|
||||
this._showScreenAfterLogin();
|
||||
|
|
Loading…
Reference in a new issue