150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
- (void)connection: (XMPPConnection*)conn_
wasBoundToJID: (XMPPJID*)jid
{
of_log(@"Bound to JID: %@", [jid fullJID]);
of_log(@"Supports SM: %@",
[conn_ supportsStreamManagement] ? @"YES" : @"NO");
XMPPDiscoEntity *discoEntity =
[[XMPPDiscoEntity alloc] initWithConnection: conn];
[discoEntity addIdentity:
[XMPPDiscoIdentity identityWithCategory: @"client"
type: @"pc"
|
<
|
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
- (void)connection: (XMPPConnection*)conn_
wasBoundToJID: (XMPPJID*)jid
{
of_log(@"Bound to JID: %@", [jid fullJID]);
of_log(@"Supports SM: %@",
[conn_ supportsStreamManagement] ? @"YES" : @"NO");
XMPPDiscoEntity *discoEntity =
[[XMPPDiscoEntity alloc] initWithConnection: conn];
[discoEntity addIdentity:
[XMPPDiscoIdentity identityWithCategory: @"client"
type: @"pc"
|