# HG changeset patch # User Matthew Wild <mwild1@gmail.com> # Date 1699355577 0 # Node ID 8fb8a253f0a1b8ddd1f9d2e413a9cfb36821335e # Parent 939df56a51ba5a4402f0419c4372092b86b5e9b4 mod_muc: Allow guest users to list rooms by default diff -r 939df56a51ba -r 8fb8a253f0a1 plugins/muc/mod_muc.lua --- 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