fix(visitors): Fix s2sout host-unknown errors by skipping domain mapping

This commit is contained in:
Bastien Le Gall
2025-12-02 17:16:27 +01:00
committed by Дамян Минков
parent 77b89ece4a
commit 10f77f1fbc

View File

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