Terminate promise chain

This commit is contained in:
David Baker 2016-01-19 17:20:23 +00:00
parent 4ed130ceac
commit c4d4e9c46e

View file

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