Skip to content

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

feat: Sets meeting id using the connect method.

damencho271027306909
diff --git a/resources/prosody-plugins/mod_fmuc.lua b/resources/prosody-plugins/mod_fmuc.lua
index 499dde6422..89c9872cef 100644
--- a/resources/prosody-plugins/mod_fmuc.lua
+++ b/resources/prosody-plugins/mod_fmuc.lua
@@ -437,6 +437,7 @@ local function iq_from_main_handler(event)
-- if there is password supplied use it
-- if this is update it will either set or remove the password
room:set_password(node.attr.password);
+ room._data.meetingId = node.attr.meetingId;
if fire_jicofo_unlock then
-- everything is connected allow participants to join
diff --git a/resources/prosody-plugins/mod_visitors.lua b/resources/prosody-plugins/mod_visitors.lua
index 5ac7dc4ec3..2bbe579ae9 100644
--- a/resources/prosody-plugins/mod_visitors.lua
+++ b/resources/prosody-plugins/mod_visitors.lua
@@ -64,7 +64,8 @@ local function send_visitors_iq(conference_service, room, type)
:tag('visitors', { xmlns = 'jitsi:visitors',
room = jid.join(jid.node(room.jid), conference_service) })
:tag(type, { xmlns = 'jitsi:visitors',
- password = type ~= 'disconnect' and room:get_password() or ''
+ password = type ~= 'disconnect' and room:get_password() or '',
+ meetingId = room._data.meetingId
}):up();
module:send(connect_done);