changeset 1132:1650056b96fc

Do not use chat states of error messages :)
author Mikael Berthe <mikael@lilotux.net>
date Sun, 21 Jan 2007 16:08:54 +0100
parents 73e6ca0a03a9
children 9dd28a56128f
files mcabber/src/jabglue.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/jabglue.c	Sun Jan 21 15:31:34 2007 +0100
+++ b/mcabber/src/jabglue.c	Sun Jan 21 16:08:54 2007 +0100
@@ -2271,8 +2271,6 @@
     }
   }
 
-  handle_state_events(from, xmldata);
-
   // Not used yet...
   x = xml_get_xmlns(xmldata, NS_ENCRYPTED);
   if (x && (p = xmlnode_get_data(x)) != NULL) {
@@ -2290,6 +2288,8 @@
     // we probe it again.
     chatstates_reset_probed(from);
 #endif
+  } else {
+    handle_state_events(from, xmldata);
   }
   if (from && body)
     gotmessage(type, from, body, enc, timestamp,