forked from matrix/element-web
fix notif spam on launch by correctly logging out again. reverts start_login_from_guest stuff
This commit is contained in:
parent
f8fb3a7fe1
commit
a6e3b39f16
|
@ -23,9 +23,10 @@ module.exports = React.createClass({
|
|||
onRegisterClicked: function() {
|
||||
dis.dispatch({'action': 'start_upgrade_registration'});
|
||||
},
|
||||
|
||||
|
||||
onLoginClicked: function() {
|
||||
dis.dispatch({'action': 'start_login_from_guest'});
|
||||
dis.dispatch({'action': 'logout'});
|
||||
dis.dispatch({'action': 'start_login'});
|
||||
},
|
||||
|
||||
render: function() {
|
||||
|
|
Loading…
Reference in New Issue