Browse Source

fix(prosody): Adds another condition to the filter.

factor2
damencho 5 months ago
parent
commit
174c4418fb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      resources/prosody-plugins/mod_filter_iq_jibri.lua

+ 1
- 1
resources/prosody-plugins/mod_filter_iq_jibri.lua View File

@@ -41,7 +41,7 @@ module:hook("pre-iq/full", function(event)
41 41
                 session.granted_jitsi_meet_context_features,
42 42
                 occupant.role == 'moderator');
43 43
 
44
-            if jibri.attr.action == 'start' then
44
+            if jibri.attr.action == 'start' or jibri.attr.action == 'stop' then
45 45
                 if not is_allowed then
46 46
                     module:log('info', 'Filtering jibri start recording, stanza:%s', tostring(stanza));
47 47
                     session.send(st.error_reply(stanza, 'auth', 'forbidden'));

Loading…
Cancel
Save