Oops, forgot to adjust tests.

This commit is contained in:
Jonathan Schleifer 2012-02-04 13:32:11 +01:00
parent 39e245987c
commit db1a84295d

View file

@ -158,8 +158,8 @@ OF_APPLICATION_DELEGATE(AppDelegate)
ID: [conn generateStanzaID]]; ID: [conn generateStanzaID]];
[iq addChild: [OFXMLElement elementWithName: @"ping" [iq addChild: [OFXMLElement elementWithName: @"ping"
namespace: @"urn:xmpp:ping"]]; namespace: @"urn:xmpp:ping"]];
[conn sendIQ: iq [conn sendIQ: iq
withCallbackBlock: ^(XMPPIQ* resp) { withCallbackBlock: ^ (XMPPConnection *c, XMPPIQ *resp) {
of_log(@"Ping response: %@", resp); of_log(@"Ping response: %@", resp);
}]; }];
#endif #endif