diff --git a/lib/client.js b/lib/client.js index 83165d545..ea0a67720 100644 --- a/lib/client.js +++ b/lib/client.js @@ -2833,7 +2833,7 @@ MatrixClient.prototype.requestRegisterEmailToken = function(email, clientSecret, * @param {module:client.callback} callback Optional. As requestEmailToken * @return {module:client.Promise} Resolves: As requestEmailToken */ -MatrixClient.prototype.request3pidAddEmailToken = function(email, clientSecret, +MatrixClient.prototype.requestAdd3pidEmailToken = function(email, clientSecret, sendAttempt, nextLink, callback) { return this._requestTokenFromEndpoint( "/account/3pid/email/requestToken",