mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(prosody): Adds another condition to the filter.
This commit is contained in:
@@ -41,7 +41,7 @@ module:hook("pre-iq/full", function(event)
|
||||
session.granted_jitsi_meet_context_features,
|
||||
occupant.role == 'moderator');
|
||||
|
||||
if jibri.attr.action == 'start' then
|
||||
if jibri.attr.action == 'start' or jibri.attr.action == 'stop' then
|
||||
if not is_allowed then
|
||||
module:log('info', 'Filtering jibri start recording, stanza:%s', tostring(stanza));
|
||||
session.send(st.error_reply(stanza, 'auth', 'forbidden'));
|
||||
|
||||
Reference in New Issue
Block a user