You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
Return early after cancelled mxid dialog
This commit is contained in:
@ -778,6 +778,7 @@ module.exports = React.createClass({
|
||||
onFinished: (submitted, credentials) => {
|
||||
if (!submitted) {
|
||||
mxIdPromise.reject();
|
||||
return;
|
||||
}
|
||||
this.props.onRegistered(credentials);
|
||||
mxIdPromise.resolve();
|
||||
|
Reference in New Issue
Block a user