mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-08 14:02:40 +02:00
Merge pull request #1049 from matrix-org/dbkr/ilag_cancel_join_on_login
Cancel 'join room' action if 'log in' is clicked
This commit is contained in:
commit
ccaa55d2c8
@ -791,6 +791,9 @@ module.exports = React.createClass({
|
||||
if (submitted) {
|
||||
this.props.onRegistered(credentials);
|
||||
} else {
|
||||
dis.dispatch({
|
||||
action: 'cancel_after_sync_prepared',
|
||||
});
|
||||
dis.dispatch({
|
||||
action: 'cancel_join',
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user