From 41ddb7660b857b994b64bc465044ff2eb8cefe7c Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 22 Dec 2016 15:01:20 +0000 Subject: [PATCH] Add doc details --- lib/base-apis.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/base-apis.js b/lib/base-apis.js index 7a8c62a5c..9e90c3452 100644 --- a/lib/base-apis.js +++ b/lib/base-apis.js @@ -715,6 +715,7 @@ MatrixBaseApis.prototype.addThreePid = function(creds, bind, callback) { /** * @param {string} medium The threepid medium (eg. 'email') * @param {string} address The threepid address (eg. 'bob@example.com') + * this must be as returned by getThreePids. * @return {module:client.Promise} Resolves: The server response on success * (generally the empty JSON object) * @return {module:http-api.MatrixError} Rejects: with an error response.