Merge pull request #1039 from matrix-org/dbkr/ilag_cancel_action
Cancel deferred actions
This commit is contained in:
commit
a99f6525c9
2 changed files with 8 additions and 0 deletions
|
@ -681,6 +681,9 @@ module.exports = React.createClass({
|
|||
homeserverUrl: MatrixClientPeg.get().getHomeserverUrl(),
|
||||
onFinished: (submitted, credentials) => {
|
||||
if (!submitted) {
|
||||
dis.dispatch({
|
||||
action: 'cancel_after_sync_prepared',
|
||||
});
|
||||
return;
|
||||
}
|
||||
this.onRegistered(credentials);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue