diff --git a/src/components/views/dialogs/SetMxIdDialog.js b/src/components/views/dialogs/SetMxIdDialog.js index 2462f24a87..9fb6b838b2 100644 --- a/src/components/views/dialogs/SetMxIdDialog.js +++ b/src/components/views/dialogs/SetMxIdDialog.js @@ -112,7 +112,7 @@ export default React.createClass({ this.setState({ usernameError: _t('User names may only contain letters, numbers, dots, hyphens and underscores.'), }); - return Promise.resolve(); + return Promise.reject(); } // Check if username is available