浏览代码

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

factor2
damencho 9 个月前
父节点
当前提交
174c4418fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      resources/prosody-plugins/mod_filter_iq_jibri.lua

+ 1
- 1
resources/prosody-plugins/mod_filter_iq_jibri.lua 查看文件

@@ -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'));

正在加载...
取消
保存