diff --git a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example index f651088873..5b7e6bceaa 100644 --- a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example +++ b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example @@ -78,6 +78,7 @@ Component "conference.jitmeet.example.com" "muc" restrict_room_creation = true storage = "memory" modules_enabled = { + "muc_hide_all"; "muc_meeting_id"; "muc_domain_mapper"; "polls"; @@ -92,6 +93,7 @@ Component "breakout.jitmeet.example.com" "muc" restrict_room_creation = true storage = "memory" modules_enabled = { + "muc_hide_all"; "muc_meeting_id"; "muc_domain_mapper"; "muc_rate_limit"; @@ -105,6 +107,7 @@ Component "breakout.jitmeet.example.com" "muc" Component "internal.auth.jitmeet.example.com" "muc" storage = "memory" modules_enabled = { + "muc_hide_all"; "ping"; } admins = { "focusUser@auth.jitmeet.example.com", "jvb@auth.jitmeet.example.com" } @@ -139,6 +142,7 @@ Component "lobby.jitmeet.example.com" "muc" muc_room_locking = false muc_room_default_public_jids = true modules_enabled = { + "muc_hide_all"; "muc_rate_limit"; "polls"; } diff --git a/resources/prosody-plugins/mod_muc_hide_all.lua b/resources/prosody-plugins/mod_muc_hide_all.lua new file mode 100644 index 0000000000..4f59b1cb52 --- /dev/null +++ b/resources/prosody-plugins/mod_muc_hide_all.lua @@ -0,0 +1,6 @@ +-- This module makes all MUCs in Prosody unavailable on disco#items query +-- Copyright (C) 2023-present 8x8, Inc. + +module:hook("muc-room-pre-create", function(event) + event.room:set_hidden(true); +end, -1);