Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: Drops extra message sent on leave.

damencho1f41ddd22833
diff --git a/resources/prosody-plugins/mod_muc_allowners.lua b/resources/prosody-plugins/mod_muc_allowners.lua
index 476d6b257e..e2235a4e19 100644
--- a/resources/prosody-plugins/mod_muc_allowners.lua
+++ b/resources/prosody-plugins/mod_muc_allowners.lua
@@ -97,16 +97,6 @@ module:hook("muc-occupant-joined", function (event)
end
end, 2);
-module:hook("muc-occupant-left", function (event)
- local room, occupant = event.room, event.occupant;
-
- if is_healthcheck_room(room.jid) then
- return;
- end
-
- room:set_affiliation(true, occupant.bare_jid, nil);
-end, 2);
-
module:hook_global('config-reloaded', load_config);
-- Filters self-presences to a jid that exist in joining_participants array