186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
|
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
-
-
-
-
-
-
|
connection: (XMPPConnection*)connection
{
XMPPIQ *resultIQ;
OFXMLElement *response;
OFEnumerator *enumerator;
OFString *feature;
XMPPDiscoIdentity *identity;
OFXMLElement *query = [IQ elementForName: @"query"
namespace: XMPP_NS_DISCO_INFO];
OFString *node = [[query attributeForName: @"node"] stringValue];
if (!(node == _node) && ![node isEqual: _node])
return NO;
resultIQ = [IQ resultIQ];
response = [OFXMLElement elementWithName: @"query"
namespace: XMPP_NS_DISCO_INFO];
[resultIQ addChild: response];
enumerator = [_identities objectEnumerator];
|