@@ -109,13 +109,20 @@ } - (void)connection: (XMPPConnection*)conn wasBoundToJID: (XMPPJID*)jid { + of_log(@"Bound to JID: %@", [jid fullJID]); + + [conn requestRoster]; +} + +- (void)connectionDidReceiveRoster :(XMPPConnection*)conn +{ XMPPPresence *pres; - of_log(@"Bound to JID: %@", [jid fullJID]); + of_log(@"Got roster"); pres = [XMPPPresence presence]; [pres addPriority: 10]; [pres addStatus: @"ObjXMPP test is working!"];