Commit b2075ce3 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Removed redundant code.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@844 b35dd754-fafc-0310-a699-88a17e54d16e
parent ce69fdd3
......@@ -69,9 +69,6 @@ public class IQDiscoInfoHandler extends IQHandler {
// we only need to add the requested info to the reply if any otherwise add
// a not found error
IQ reply = IQ.createResultIQ(packet);
reply.setType(IQ.Type.result);
reply.setTo(packet.getFrom());
reply.setFrom(packet.getTo());
// Look for a DiscoInfoProvider associated with the requested entity.
// We consider the host of the recipient JID of the packet as the entity. It's the
......
......@@ -72,9 +72,6 @@ public class IQDiscoItemsHandler extends IQHandler implements ServerFeaturesProv
// we only need to add the requested items to the reply if any otherwise add
// a not found error
IQ reply = IQ.createResultIQ(packet);
reply.setType(IQ.Type.result);
reply.setTo(packet.getFrom());
reply.setFrom(packet.getFrom());
// TODO Implement publishing client items
if (IQ.Type.set == packet.getType()) {
......
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