From c4d4e9c46e0dddc3a600435b363c31d2b694a6a4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 19 Jan 2016 17:20:23 +0000 Subject: [PATCH] Terminate promise chain --- src/components/structures/UserSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index 8bb3cb5ecb..488e7368d1 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -176,7 +176,7 @@ module.exports = React.createClass({ this.add_threepid = new AddThreepid(); // we always bind emails when registering, so let's do the // same here. - this.add_threepid.addEmailAddress(email_address, true).then(() => { + this.add_threepid.addEmailAddress(email_address, true).done(() => { Modal.createDialog(QuestionDialog, { title: "Verification Pending", description: "Please check your email and click on the link it contains. Once this is done, click continue.",