Make method names more consistent with ObjFW.

This commit is contained in:
Jonathan Schleifer 2012-12-13 22:49:09 +01:00
parent 89b1f86a4d
commit 00a064a4a5
7 changed files with 66 additions and 54 deletions

View file

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