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

Oops, include the param name

This commit is contained in:
David Baker
2016-06-22 16:17:51 +01:00
parent ae3551ad78
commit 1556cc4479

View File

@@ -2186,8 +2186,9 @@ MatrixClient.prototype.getRoomDirectoryVisibility =
/**
* Set the visbility of a room in the current HS's room directory
* @param {string} roomId
* @param {string} "public" to make the room visible in the public directory,
* or "private" to make it invisible.
* @param {string} visibility "public" to make the room visible
* in the public directory, or "private" to make
* it invisible.
* @param {module:client.callback} callback Optional.
* @return {module:client.Promise} Resolves: result object
* @return {module:http-api.MatrixError} Rejects: with an error response.