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
feature: patch for muc_owner_allow_kick in prosody 0.12 (#11142)
Aaron van Meertenfbe15aaa4725
diff --git a/resources/prosody-plugins/muc_owner_allow_kick-0.12.patch b/resources/prosody-plugins/muc_owner_allow_kick-0.12.patchnew file mode 100644index 0000000000..de08935cf0--- /dev/null+++ b/resources/prosody-plugins/muc_owner_allow_kick-0.12.patch@@ -0,0 +1,22 @@+--- muc.lib.lua 2016-10-26 18:26:53.432377291 +0000++++ muc.lib.lua 2016-10-26 18:41:40.754426072 +0000+@@ -1582,16 +1582,16 @@+ if event.allowed ~= nil then+ return event.allowed, event.error, event.condition;+ end++ local occupant_affiliation = self:get_affiliation(occupant.bare_jid);++ -- Can't do anything to other owners or admins+- local occupant_affiliation = self:get_affiliation(occupant.bare_jid);+- if occupant_affiliation == "owner" or occupant_affiliation == "admin" then++ local actor_affiliation = self:get_affiliation(actor);++ if (occupant_affiliation == "owner" and actor_affiliation ~= "owner") or (occupant_affiliation == "admin" and actor_affiliation ~= "admin" and actor_affiliation ~= "owner") then+ return nil, "cancel", "not-allowed";+ end++ -- If you are trying to give or take moderator role you need to be an owner or admin+ if occupant.role == "moderator" or role == "moderator" then+- local actor_affiliation = self:get_affiliation(actor);+ if actor_affiliation ~= "owner" and actor_affiliation ~= "admin" then+ return nil, "cancel", "not-allowed";+ end