mirror of https://github.com/vector-im/riot-web
Merge pull request #964 from matrix-org/luke/start-url
Add /start to show the setMxId above HomePagepull/21833/head
commit
90c2fc01d2
|
@ -685,7 +685,7 @@ module.exports = React.createClass({
|
||||||
onLoginClick: (ev) => {
|
onLoginClick: (ev) => {
|
||||||
dis.dispatch({action: 'start_login'});
|
dis.dispatch({action: 'start_login'});
|
||||||
close();
|
close();
|
||||||
},
|
},
|
||||||
}).close;
|
}).close;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -991,6 +991,11 @@ module.exports = React.createClass({
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
action: 'view_home_page',
|
action: 'view_home_page',
|
||||||
});
|
});
|
||||||
|
} else if (screen == 'start') {
|
||||||
|
this.showScreen('home');
|
||||||
|
dis.dispatch({
|
||||||
|
action: 'view_set_mxid',
|
||||||
|
});
|
||||||
} else if (screen == 'directory') {
|
} else if (screen == 'directory') {
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
action: 'view_room_directory',
|
action: 'view_room_directory',
|
||||||
|
|
Loading…
Reference in New Issue