119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
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]);
pres = [XMPPPresence presence];
[pres addPriority: 10];
|
|
|
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
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]);
pres = [XMPPPresence presence];
[pres addPriority: 10];
|