Commit abf8d3fd authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

IQ sent to full JID must only be sent to that resource and not a default resource. JM-994

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@7410 b35dd754-fafc-0310-a699-88a17e54d16e
parent df7944c4
......@@ -309,7 +309,7 @@ public class IQRouter extends BasicModule {
// So if the target address belongs to this server then use the sessionManager
// instead of the routingTable since unavailable clients won't have a route to them
if (XMPPServer.getInstance().isLocal(recipientJID)) {
ClientSession session = sessionManager.getBestRoute(recipientJID);
ClientSession session = sessionManager.getSession(recipientJID);
if (session != null) {
if (session.canProcess(packet)) {
session.process(packet);
......
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