mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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() {
|
onRegisterClicked: function() {
|
||||||
dis.dispatch({'action': 'start_upgrade_registration'});
|
dis.dispatch({'action': 'start_upgrade_registration'});
|
||||||
},
|
},
|
||||||
|
|
||||||
onLoginClicked: function() {
|
onLoginClicked: function() {
|
||||||
dis.dispatch({'action': 'start_login_from_guest'});
|
dis.dispatch({'action': 'logout'});
|
||||||
|
dis.dispatch({'action': 'start_login'});
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user