# HG changeset patch # User Mikael Berthe # Date 1169392134 -3600 # Node ID 1650056b96fcc2dc42d5c7cfed424b9a51deebab # Parent 73e6ca0a03a9185c1f906f9eacbfe08b65700e97 Do not use chat states of error messages :) diff -r 73e6ca0a03a9 -r 1650056b96fc mcabber/src/jabglue.c --- 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,