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(visitors): Fix s2sout host-unknown errors by skipping domain mapping

Bastien Le Gall10f77f1fbcb9
diff --git a/resources/prosody-plugins/mod_muc_domain_mapper.lua b/resources/prosody-plugins/mod_muc_domain_mapper.lua
index c9c7a53712..cf0e7b4863 100644
--- a/resources/prosody-plugins/mod_muc_domain_mapper.lua
+++ b/resources/prosody-plugins/mod_muc_domain_mapper.lua
@@ -19,7 +19,7 @@ local internal_room_jid_match_rewrite = util.internal_room_jid_match_rewrite;
-- We must filter stanzas in order to hook in to all incoming and outgoing messaging which skips the stanza routers
function filter_stanza(stanza, session)
- if stanza.skipMapping then
+ if stanza.skipMapping or session.type == 's2sout' then
return stanza;
end