Merge pull request #964 from matrix-org/luke/start-url
Add /start to show the setMxId above HomePage
This commit is contained in:
commit
90c2fc01d2
1 changed files with 6 additions and 1 deletions
|
@ -685,7 +685,7 @@ module.exports = React.createClass({
|
|||
onLoginClick: (ev) => {
|
||||
dis.dispatch({action: 'start_login'});
|
||||
close();
|
||||
},
|
||||
},
|
||||
}).close;
|
||||
},
|
||||
|
||||
|
@ -991,6 +991,11 @@ module.exports = React.createClass({
|
|||
dis.dispatch({
|
||||
action: 'view_home_page',
|
||||
});
|
||||
} else if (screen == 'start') {
|
||||
this.showScreen('home');
|
||||
dis.dispatch({
|
||||
action: 'view_set_mxid',
|
||||
});
|
||||
} else if (screen == 'directory') {
|
||||
dis.dispatch({
|
||||
action: 'view_room_directory',
|
||||
|
|
Loading…
Reference in a new issue