diff --git a/src/client.js b/src/client.js index 1840b3cac..22cae3e87 100644 --- a/src/client.js +++ b/src/client.js @@ -1129,7 +1129,7 @@ MatrixClient.prototype.getGroups = function() { * @return {module:client.Promise} Resolves with an object containing the config. */ MatrixClient.prototype.getMediaConfig = function(callback) { - return this._http.requestWithPrefix( + return this._http.authedRequestWithPrefix( callback, "GET", "/config", undefined, undefined, httpApi.PREFIX_MEDIA_R0, ); };