Skip to content

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

fix: Fixes filtering lobby presences.

damencho30a2e84da111
diff --git a/resources/prosody-plugins/mod_muc_lobby_rooms.lua b/resources/prosody-plugins/mod_muc_lobby_rooms.lua
index af5332d193..0c7fad4a5a 100644
--- a/resources/prosody-plugins/mod_muc_lobby_rooms.lua
+++ b/resources/prosody-plugins/mod_muc_lobby_rooms.lua
@@ -148,10 +148,8 @@ function filter_stanza(stanza)
end
end
function filter_session(session)
- if session.host and session.host == module.host then
- -- domain mapper is filtering on default priority 0, and we need it after that
- filters.add_filter(session, 'stanzas/out', filter_stanza, -1);
- end
+ -- domain mapper is filtering on default priority 0, and we need it after that
+ filters.add_filter(session, 'stanzas/out', filter_stanza, -1);
end
function attach_lobby_room(room)