Extract separate add / bind methods on AddThreepid
This commit is contained in:
parent
99b804d567
commit
9a1305bf4a
6 changed files with 45 additions and 17 deletions
|
@ -62,9 +62,7 @@ export default createReactClass({
|
|||
return;
|
||||
}
|
||||
this._addThreepid = new AddThreepid();
|
||||
// we always bind emails when registering, so let's do the
|
||||
// same here.
|
||||
this._addThreepid.addEmailAddress(emailAddress, true).done(() => {
|
||||
this._addThreepid.addEmailAddress(emailAddress).done(() => {
|
||||
Modal.createTrackedDialog('Verification Pending', '', QuestionDialog, {
|
||||
title: _t("Verification Pending"),
|
||||
description: _t(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue