Commit b0a3aa4c authored by csh's avatar csh

OF-757 Allow s2s message of subdomain of XMPP domain when no components are found

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@14002 b35dd754-fafc-0310-a699-88a17e54d16e
parent d4e927ba
......@@ -233,7 +233,7 @@ public class RoutingTableImpl extends BasicModule implements RoutingTable, Clust
// Packet sent to our domain.
routed = routeToLocalDomain(jid, packet, fromServer);
}
else if (jid.getDomain().contains(serverName)) {
else if (jid.getDomain().endsWith(serverName) && hasComponentRoute(jid)) {
// Packet sent to component hosted in this server
routed = routeToComponent(jid, packet, routed);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment