Merge pull request #964 from matrix-org/luke/start-url

Add /start to show the setMxId above HomePage
This commit is contained in:
Matthew Hodgson 2017-05-30 15:45:43 +01:00 committed by GitHub
commit 90c2fc01d2

View file

@ -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',