116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
}
- (void)connection: (XMPPConnection*)conn
wasBoundToJID: (XMPPJID*)jid
{
of_log(@"Bound to JID: %@", [jid fullJID]);
[conn requestRoster];
}
- (void)connectionDidReceiveRoster: (XMPPConnection*)conn
{
XMPPPresence *pres;
of_log(@"Got roster: %@", [[conn roster] rosterItems]);
|
|
|
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
}
- (void)connection: (XMPPConnection*)conn
wasBoundToJID: (XMPPJID*)jid
{
of_log(@"Bound to JID: %@", [jid fullJID]);
[[conn roster] requestRoster];
}
- (void)connectionDidReceiveRoster: (XMPPConnection*)conn
{
XMPPPresence *pres;
of_log(@"Got roster: %@", [[conn roster] rosterItems]);
|