changeset 1909:9c14153e2580

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!
author Mikael Berthe <mikael@lilotux.net>
date Sun, 18 Apr 2010 14:14:05 +0200
parents e2def760c6d0
children 3695266e16c7
files mcabber/mcabber/xmpp.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
   }