Terminate promise chain

pull/21833/head
David Baker 2016-01-19 17:20:23 +00:00
parent 4ed130ceac
commit c4d4e9c46e
1 changed files with 1 additions and 1 deletions

View File

@ -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.",