Commit 981e2b29 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Error condition is now being set to the reply. :)

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2745 b35dd754-fafc-0310-a699-88a17e54d16e
parent b6ac8af0
/**
* $RCSfile$
* $RCSfile: IQRouter.java,v $
* $Revision$
* $Date$
*
......@@ -75,7 +75,7 @@ public class IQRouter extends BasicModule {
else {
IQ reply = IQ.createResultIQ(packet);
reply.setChildElement(packet.getChildElement().createCopy());
packet.setError(PacketError.Condition.not_authorized);
reply.setError(PacketError.Condition.not_authorized);
sessionManager.getSession(packet.getFrom()).process(reply);
}
}
......
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