Don't answer to IQs of type "error" or "result"
This commit is contained in:
parent
d47fdd3380
commit
d3d58b7697
1 changed files with 2 additions and 1 deletions
|
@ -565,7 +565,8 @@
|
||||||
handled = [delegate connection: self
|
handled = [delegate connection: self
|
||||||
didReceiveIQ: iq];
|
didReceiveIQ: iq];
|
||||||
|
|
||||||
if (!handled) {
|
if (!handled && ![[iq type] isEqual: @"error"]
|
||||||
|
&& ![[iq type] isEqual: @"result"]) {
|
||||||
XMPPJID *from = [iq from];
|
XMPPJID *from = [iq from];
|
||||||
XMPPJID *to = [iq to];
|
XMPPJID *to = [iq to];
|
||||||
OFXMLElement *error;
|
OFXMLElement *error;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue