Skip to content

Commit

Permalink
OF-757 Allow s2s message of subdomain of XMPP domain when no componen…
Browse files Browse the repository at this point in the history
…ts are found

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@14002 b35dd754-fafc-0310-a699-88a17e54d16e
  • Loading branch information
csh committed Mar 24, 2014
1 parent d4e927b commit b0a3aa4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public void routePacket(JID jid, Packet packet, boolean fromServer) throws Packe
// 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);
}
Expand Down

0 comments on commit b0a3aa4

Please sign in to comment.