feat: Sets meeting id using the connect method.

pull/13316/head jitsi-meet_8628
damencho 2 years ago committed by Дамян Минков
parent 07af18e284
commit 2710273069
  1. 1
      resources/prosody-plugins/mod_fmuc.lua
  2. 3
      resources/prosody-plugins/mod_visitors.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

@ -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);

Loading…
Cancel
Save