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
Update function name as per js-sdk PR feedback
This commit is contained in:
@@ -38,7 +38,7 @@ class AddThreepid {
|
|||||||
*/
|
*/
|
||||||
addEmailAddress(emailAddress, bind) {
|
addEmailAddress(emailAddress, bind) {
|
||||||
this.bind = bind;
|
this.bind = bind;
|
||||||
return MatrixClientPeg.get().request3pidAddEmailToken(emailAddress, this.clientSecret, 1).then((res) => {
|
return MatrixClientPeg.get().requestAdd3pidEmailToken(emailAddress, this.clientSecret, 1).then((res) => {
|
||||||
this.sessionId = res.sid;
|
this.sessionId = res.sid;
|
||||||
return res;
|
return res;
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user