You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Terminate promise chain
This commit is contained in:
@@ -176,7 +176,7 @@ module.exports = React.createClass({
|
|||||||
this.add_threepid = new AddThreepid();
|
this.add_threepid = new AddThreepid();
|
||||||
// we always bind emails when registering, so let's do the
|
// we always bind emails when registering, so let's do the
|
||||||
// same here.
|
// same here.
|
||||||
this.add_threepid.addEmailAddress(email_address, true).then(() => {
|
this.add_threepid.addEmailAddress(email_address, true).done(() => {
|
||||||
Modal.createDialog(QuestionDialog, {
|
Modal.createDialog(QuestionDialog, {
|
||||||
title: "Verification Pending",
|
title: "Verification Pending",
|
||||||
description: "Please check your email and click on the link it contains. Once this is done, click continue.",
|
description: "Please check your email and click on the link it contains. Once this is done, click continue.",
|
||||||
|
|||||||
Reference in New Issue
Block a user