Do not display unhandled IQ result messages to the log window
We display the message only in the debug log file, because these messages
are usually ignored anyway (ideally we would create a handler explicitly
when sending the initial IQ request).
Thanks to VarLog for the report!
--- a/mcabber/mcabber/xmpp.c Sun Apr 18 14:04:45 2010 +0200
+++ b/mcabber/mcabber/xmpp.c Sun Apr 18 14:14:05 2010 +0200
@@ -1484,9 +1484,6 @@
if (mstype == LM_MESSAGE_SUB_TYPE_RESULT) {
scr_LogPrint(LPRINT_DEBUG, "Unhandled IQ result? %s",
lm_message_node_to_string(m->node));
-
- scr_LogPrint(LPRINT_NORMAL, "Received unhandled IQ result from <%s>.",
- lm_message_get_from(m));
return LM_HANDLER_RESULT_ALLOW_MORE_HANDLERS;
}