| 398 || xmlnode_get_child_with_namespace(packet, "close", XEP_0047_NAMESPACE) |
398 || xmlnode_get_child_with_namespace(packet, "close", XEP_0047_NAMESPACE) |
| 399 || xmlnode_get_child_with_namespace(packet, "open", XEP_0047_NAMESPACE)) { |
399 || xmlnode_get_child_with_namespace(packet, "open", XEP_0047_NAMESPACE)) { |
| 400 jabber_ibb_parse(js, packet); |
400 jabber_ibb_parse(js, packet); |
| 401 return; |
401 return; |
| 402 } |
402 } |
| 403 |
403 |
| 404 /* If we get here, send the default error reply mandated by XMPP-CORE */ |
404 /* If we get here, send the default error reply mandated by XMPP-CORE */ |
| 405 if(!strcmp(type, "set") || !strcmp(type, "get")) { |
405 if(!strcmp(type, "set") || !strcmp(type, "get")) { |
| 406 JabberIq *iq = jabber_iq_new(js, JABBER_IQ_ERROR); |
406 JabberIq *iq = jabber_iq_new(js, JABBER_IQ_ERROR); |
| 407 |
407 |
| 408 xmlnode_free(iq->node); |
408 xmlnode_free(iq->node); |