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

Clearer doc for setRoomDirectoryVisibility

This commit is contained in:
David Baker
2016-06-22 14:27:54 +01:00
parent cb6566a198
commit ae3551ad78

View File

@@ -2186,7 +2186,8 @@ MatrixClient.prototype.getRoomDirectoryVisibility =
/**
* Set the visbility of a room in the current HS's room directory
* @param {string} roomId
* @param {string} visibility
* @param {string} "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.