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
fix(prosody): Updates filtering set command in non-moderated rooms for allowners.
damenchof8eb99991178
diff --git a/resources/prosody-plugins/mod_muc_allowners.lua b/resources/prosody-plugins/mod_muc_allowners.luaindex f5e93b095a..fb601c6250 100644--- a/resources/prosody-plugins/mod_muc_allowners.lua+++ b/resources/prosody-plugins/mod_muc_allowners.lua@@ -155,18 +155,20 @@ function filter_admin_set_query(event)local room_jid = jid_bare(stanza.attr.to);local room = get_room_from_jid(room_jid);- local item = stanza.tags[1].tags[1];- local _aff = item.attr.affiliation;--- if it is a moderated room we skip itif room and is_moderated(room.jid) thenreturn nil;end- -- any revoking is disabled, everyone should be owners- if _aff == 'none' or _aff == 'outcast' or _aff == 'member' then- origin.send(st.error_reply(stanza, "auth", "forbidden"));- return true;+ for i=1,#stanza.tags[1] do+ local item = stanza.tags[1].tags[i];+ local _aff = item.attr.affiliation;++ -- any revoking is disabled, everyone should be owners+ if _aff == 'none' or _aff == 'outcast' or _aff == 'member' then+ origin.send(st.error_reply(stanza, "auth", "forbidden"));+ return true;+ endendend