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(breakout-rooms): don't clear jitsi_breakout_main_jid on smacks resume
damenchoeb43cf601959
diff --git a/resources/prosody-plugins/mod_auth_token.lua b/resources/prosody-plugins/mod_auth_token.luaindex c9f8abcaa5..4a584803ee 100644--- a/resources/prosody-plugins/mod_auth_token.lua+++ b/resources/prosody-plugins/mod_auth_token.lua@@ -159,6 +159,21 @@ local function anonymous(self, message)sasl.registerMechanism("ANONYMOUS", {"anonymous"}, anonymous);+-- Fired by Prosody's sessionmanager.update_session() during smacks (XEP-0198) session+-- resumption. The naming can be counter-intuitive:+-- event.session (session) – the OLD hibernating session being kept alive.+-- It holds all MUC state, auth state, and custom+-- fields accumulated during the call.+-- event.from_session (from_session) – the NEW incoming TCP session being absorbed and+-- then retired. It has JWT fields freshly extracted+-- from the reconnect URL by mod_jitsi_session, but+-- no MUC state (it never joined a room).+-- The copies below refresh the old session's JWT claims with the latest values from the+-- new connection (useful when the client reconnects with a rotated token). Fields that+-- represent runtime MUC state (e.g. jitsi_breakout_main_jid, set by+-- mod_muc_breakout_rooms when the session joins the main room) must NOT be copied here —+-- from_session will have nil for those, which would silently overwrite the valid value+-- on the old session.module:hook_global('c2s-session-updated', function (event)local session, from_session = event.session, event.from_session;@@ -201,5 +216,4 @@ module:hook_global('c2s-session-updated', function (event)session.jitsi_meet_str_tenant = from_session.jitsi_meet_str_tenant;session.jitsi_meet_domain = from_session.jitsi_meet_domain;session.jitsi_meet_tenant_mismatch = from_session.jitsi_meet_tenant_mismatch;- session.jitsi_breakout_main_jid = from_session.jitsi_breakout_main_jid;end, 1);