Skip to content

Commit

Permalink
Merge pull request #144 from matrix-org/dbkr/set_visibility_doc
Browse files Browse the repository at this point in the history
Clearer doc for setRoomDirectoryVisibility
  • Loading branch information
richvdh authored Jun 22, 2016
2 parents 32f7ca5 + 1556cc4 commit 7ff1cf4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7ff1cf4

Please sign in to comment.