Return to root URL on log out.

This commit is contained in:
David Baker 2015-07-22 21:40:13 -07:00
parent c2e92045d0
commit 6f62211465

View file

@ -99,6 +99,7 @@ module.exports = {
Presence.stop(); Presence.stop();
MatrixClientPeg.get().removeAllListeners(); MatrixClientPeg.get().removeAllListeners();
MatrixClientPeg.unset(); MatrixClientPeg.unset();
this.notifyNewScreen('');
break; break;
case 'start_registration': case 'start_registration':
if (this.state.logged_in) return; if (this.state.logged_in) return;