86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
return [caps SHA1Hash];
}
- (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];
if (query != nil) {
OFString *node =
[[query attributeForName: @"node"] stringValue];
if (node == nil)
|
<
<
<
|
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
return [caps SHA1Hash];
}
- (BOOL)connection: (XMPPConnection*)connection
didReceiveIQ: (XMPPIQ*)IQ
{
if (![[IQ to] isEqual: _JID])
return NO;
OFXMLElement *query = [IQ elementForName: @"query"
namespace: XMPP_NS_DISCO_ITEMS];
if (query != nil) {
OFString *node =
[[query attributeForName: @"node"] stringValue];
if (node == nil)
|