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: Generates correct join error for lobby. (#10673)
Дамян Минковb084aae212fa
diff --git a/resources/prosody-plugins/mod_muc_lobby_rooms.lua b/resources/prosody-plugins/mod_muc_lobby_rooms.luaindex 13bd1f3916..19d4eee896 100644--- a/resources/prosody-plugins/mod_muc_lobby_rooms.lua+++ b/resources/prosody-plugins/mod_muc_lobby_rooms.lua@@ -380,10 +380,13 @@ process_host_module(main_muc_component_config, function(host_module, host)local invitee = event.stanza.attr.from;local affiliation = room:get_affiliation(invitee);if not affiliation or affiliation == 'none' then- local reply = st.error_reply(stanza, 'auth', 'registration-required'):up();+ local reply = st.error_reply(stanza, 'auth', 'registration-required');reply.tags[1].attr.code = '407';- reply:tag('x', {xmlns = MUC_NS}):up();- reply:tag('lobbyroom'):text(room._data.lobbyroom);+ reply:tag('lobbyroom', { xmlns = 'http://jitsi.org/jitmeet' }):text(room._data.lobbyroom):up():up();++ -- TODO: Drop this tag at some point (when all mobile clients and jigasi are updated), as this violates the rfc+ reply:tag('lobbyroom'):text(room._data.lobbyroom):up();+event.origin.send(reply:tag('x', {xmlns = MUC_NS}));return true;end