aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2023-11-07 11:12:57 +0000
committerMatthew Wild <mwild1@gmail.com>2023-11-07 11:12:57 +0000
commit3eff243580ddc3d5e528b7a5308bd27cba13603a (patch)
tree7358edda74b8e80713c3942e5717ed480e7bce00
parent8b0521f24437978d951ed6aa22e639dec9805b22 (diff)
downloadprosody-3eff243580ddc3d5e528b7a5308bd27cba13603a.tar.gz
prosody-3eff243580ddc3d5e528b7a5308bd27cba13603a.zip
mod_muc: Allow guest users to list rooms by default
-rw-r--r--plugins/muc/mod_muc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 0be5348a..8eac4c1e 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -115,6 +115,9 @@ module:default_permissions("prosody:admin", {
":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