1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-29 16:43:09 +03:00

I actually docced them as well

This commit is contained in:
David Baker
2016-09-29 17:47:51 +01:00
parent fa557eb0cc
commit 56be271b0a

View File

@@ -1042,9 +1042,10 @@ MatrixBaseApis.prototype.sendToDevice = function(
// Third party Lookup API
// ======================
/*
/**
* Get the third party protocols that can be reached using
* this HS
* @return {module:client.Promise} Resolves to the result object
*/
MatrixBaseApis.prototype.getThirdpartyProtocols = function() {
return this._http.authedRequestWithPrefix(
@@ -1053,12 +1054,13 @@ MatrixBaseApis.prototype.getThirdpartyProtocols = function() {
);
};
/*
/**
* Get information on how a specific place on a third party protocol
* may be reached.
* @param {string} protocol The protocol given in getThirdpartyProtocols()
* @param {object} params Protocol-specific parameters, as given in th
* response to getThirdpartyProtocols()
* @return {module:client.Promise} Resolves to the result object
*/
MatrixBaseApis.prototype.getThirdpartyLocation = function(protocol, params) {
var path = utils.encodeUri("/thirdparty/location/$protocol", {