Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
docs(config): say where mod_filter_messages must be loaded
damencho8b84383fbc17
diff --git a/config.js b/config.jsindex 5d2e8199df..2227be3cd3 100644--- a/config.js+++ b/config.js@@ -164,12 +164,16 @@ var config = {// Disables self-view settings in UI// disableSelfViewSettings: false,- // Shows/hides the moderator setting for chat permissions.+ // Shows/hides the moderator settings that restrict group chat and private chat to the participants with the+ // `send-groupchat` and `send-private-message` permissions. The restrictions are enforced by the+ // mod_filter_messages prosody module, thus enable this only when that module is loaded on the main MUC+ // component and on the breakout rooms MUC component.// showChatPermissionsModeratorSetting: false,// Shows/hides the moderator setting that restricts video sharing to the participants with the// `share-video` permission. The restriction is enforced by the mod_filter_messages prosody module,- // thus enable this only when that module is loaded.+ // thus enable this only when that module is loaded on the main MUC component and on the breakout rooms MUC+ // component.// showSharedVideoPermissionsModeratorSetting: false,// Shows/hides the moderator setting that restricts joining a breakout room to the room a moderatordiff --git a/resources/prosody-plugins/mod_filter_messages.lua b/resources/prosody-plugins/mod_filter_messages.luaindex f1ad036a96..330187d125 100644--- a/resources/prosody-plugins/mod_filter_messages.lua+++ b/resources/prosody-plugins/mod_filter_messages.lua@@ -47,7 +47,10 @@-- (user@domain/resource) does not go to the MUC component, thus no hook here-- sees it.----- Load on the MUC component.+-- Every room has its own restrictions, a breakout room as well. A moderator sets+-- them in the room they are in.+--+-- Load on the MUC component and on the breakout rooms MUC component.local util = module:require 'util';local get_room_from_jid = util.get_room_from_jid;local jid_bare = require 'util.jid'.bare;