From 56e3aef482d632eb1795e74fe2d6003ea8efb6d3 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Sat, 23 Mar 2013 23:06:41 +0100 Subject: [PATCH] Add XMPPDisco*.h to ObjXMPP.h, remove debug code --- src/ObjXMPP.h | 4 ++++ src/XMPPDiscoEntity.m | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ObjXMPP.h b/src/ObjXMPP.h index f5d5a83..6c633cf 100644 --- a/src/ObjXMPP.h +++ b/src/ObjXMPP.h @@ -37,3 +37,7 @@ #import "XMPPContact.h" #import "XMPPContactManager.h" + +#import "XMPPDiscoEntity.h" +#import "XMPPDiscoNode.h" +#import "XMPPDiscoIdentity.h" diff --git a/src/XMPPDiscoEntity.m b/src/XMPPDiscoEntity.m index 0ea7112..2ba17b8 100644 --- a/src/XMPPDiscoEntity.m +++ b/src/XMPPDiscoEntity.m @@ -90,12 +90,9 @@ - (BOOL)connection: (XMPPConnection*)connection didReceiveIQ: (XMPPIQ*)IQ { - of_log(@"Called connection:didReceiveIQ:... %@ %@", [IQ to], _JID); if (![[IQ to] isEqual: _JID]) return NO; - of_log(@"...that is for us"); - OFXMLElement *query = [IQ elementForName: @"query" namespace: XMPP_NS_DISCO_ITEMS];