From 3eff243580ddc3d5e528b7a5308bd27cba13603a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 7 Nov 2023 11:12:57 +0000 Subject: mod_muc: Allow guest users to list rooms by default --- plugins/muc/mod_muc.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/muc') 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 -- cgit v1.2.3