Handle the connection in the run loop.

This commit is contained in:
Jonathan Schleifer 2012-09-20 02:30:15 +02:00
parent 72bc705800
commit 8f2cdce7b4
3 changed files with 53 additions and 19 deletions

View file

@ -146,7 +146,8 @@ OF_APPLICATION_DELEGATE(AppDelegate)
wasBoundToJID: (XMPPJID*)jid
{
of_log(@"Bound to JID: %@", [jid fullJID]);
of_log(@"Supports SM: %@", [conn_ supportsStreamManagement] ? @"YES" : @"NO");
of_log(@"Supports SM: %@",
[conn_ supportsStreamManagement] ? @"YES" : @"NO");
[roster requestRoster];
}