From b689dbb9c0fc377cfd710ca53fbf6250a6cc47e2 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 8 Jul 2016 17:52:27 +0100 Subject: [PATCH] Better function name --- lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",