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(wait-for-host): Fixes missing param.
damenchoe4283e61dd19
diff --git a/resources/prosody-plugins/mod_muc_wait_for_host.lua b/resources/prosody-plugins/mod_muc_wait_for_host.luaindex fcbfb007ea..800692a2e2 100644--- a/resources/prosody-plugins/mod_muc_wait_for_host.lua+++ b/resources/prosody-plugins/mod_muc_wait_for_host.lua@@ -62,7 +62,7 @@ module:hook('muc-occupant-pre-join', function (event)endif not room.has_host then- if module:fire_event('room_has_host', { room = room; session = session; }) then+ if module:fire_event('room_has_host', { room = room; occupant = occupant; session = session; }) then-- the host is here, let's drop the lobbyroom:set_members_only(false);@@ -92,7 +92,7 @@ module:hook('muc-occupant-pre-join', function (event)end);module:hook('room_has_host', function(event)- local room, session = event.room, event.session;+ local room, occupant, session = event.room, event.occupant, event.session;if session.auth_tokenor (session.username and jid.host(occupant.bare_jid) == muc_domain_base) thenreturn true;