Send an error reply for unhandled IQ stanzas.

This commit is contained in:
Jonathan Schleifer 2011-03-21 21:36:59 +01:00
parent e71c601cbe
commit 08e9104a17
3 changed files with 37 additions and 4 deletions

View file

@ -129,10 +129,12 @@ OF_APPLICATION_DELEGATE(AppDelegate)
[conn sendStanza: pres];
}
- (void)connection: (XMPPConnection*)conn
- (BOOL)connection: (XMPPConnection*)conn
didReceiveIQ: (XMPPIQ*)iq
{
of_log(@"IQ: %@", iq);
return NO;
}
- (void)connection: (XMPPConnection*)conn