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

Merge pull request #144 from matrix-org/dbkr/set_visibility_doc

Clearer doc for setRoomDirectoryVisibility
This commit is contained in:
Richard van der Hoff
2016-06-22 17:20:13 +01:00
committed by GitHub

View File

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