Software / code / prosody
Changeset
13307:8fb8a253f0a1
mod_muc: Allow guest users to list rooms by default
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 07 Nov 2023 11:12:57 +0000 |
| parents | 13306:939df56a51ba |
| children | 13308:d539cb48c6e9 |
| files | plugins/muc/mod_muc.lua |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Tue Nov 07 11:10:38 2023 +0000 +++ b/plugins/muc/mod_muc.lua Tue Nov 07 11:12:57 2023 +0000 @@ -115,6 +115,9 @@ ":create-room"; ":recreate-destroyed-room"; }); +module:default_permissions("prosody:guest", { + ":list-rooms"; +}); if module:get_option_boolean("component_admins_as_room_owners", true) then -- Monkey patch to make server admins room owners