From cba1e95d0a357ad9a10394bbb330d7bccd47d7a2 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 26 Sep 2018 09:11:28 -0600 Subject: [PATCH] Revert "Add getMediaLimits to client" --- src/client.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/client.js b/src/client.js index 821add2d9..bf1edf30b 100644 --- a/src/client.js +++ b/src/client.js @@ -771,17 +771,6 @@ MatrixClient.prototype.getGroups = function() { return this.store.getGroups(); }; -/** - * Get the config for the media repository. - * @param {module:client.callback} callback Optional. - * @return {module:client.Promise} Resolves with an object containing the config. - */ -MatrixClient.prototype.getMediaConfig = function(callback) { - return this._http.requestWithPrefix( - callback, "GET", "/config", undefined, undefined, httpApi.PREFIX_MEDIA_R0, - ); -}; - // Room ops // ========