Add the XMPPConnection to xmpp_calback_block_t.

This commit is contained in:
Jonathan Schleifer 2012-02-04 12:52:49 +01:00
parent 6ddf416e50
commit 39e245987c
4 changed files with 12 additions and 5 deletions

View file

@ -788,7 +788,8 @@
XMPPCallback *callback;
if ((callback = [callbacks objectForKey: [iq ID]])) {
[callback runWithIQ: iq];
[callback runWithIQ: iq
connection: self];
[callbacks removeObjectForKey: [iq ID]];
return;
}