author | Mikael Berthe <mikael@lilotux.net> |
Sun, 25 Oct 2009 00:44:14 +0200 | |
changeset 1636 | e38300775548 |
parent 1635 | a57f2634ee7c |
child 1638 | 3b3b5c1f8327 |
--- a/mcabber/src/xmpp_iq.c Sat Oct 24 16:28:00 2009 +0200 +++ b/mcabber/src/xmpp_iq.c Sun Oct 25 00:44:14 2009 +0200 @@ -526,6 +526,9 @@ const char *node = NULL; const char *param = NULL; + if (lm_message_get_sub_type(m) == LM_MESSAGE_SUB_TYPE_RESULT) + return LM_HANDLER_RESULT_REMOVE_MESSAGE; + r = lm_message_new_iq_from_query(m, LM_MESSAGE_SUB_TYPE_RESULT); query = lm_message_node_add_child(r->node, "query", NULL); lm_message_node_set_attribute(query, "xmlns", NS_DISCO_INFO);