diff mcabber/src/jabglue.c @ 992:b37348c2aa79

Chatstates: display "paused" states in the roster
author Mikael Berthe <mikael@lilotux.net>
date Wed, 01 Nov 2006 17:47:30 +0100
parents ef10906691bb
children 0759f4c7da68
line wrap: on
line diff
--- a/mcabber/src/jabglue.c	Wed Nov 01 11:56:58 2006 +0100
+++ b/mcabber/src/jabglue.c	Wed Nov 01 17:47:30 2006 +0100
@@ -1752,11 +1752,7 @@
     } else if (!strcmp(p, "gone")) {
       jep85->last_state_rcvd = ROSTER_EVENT_GONE;
     }
-
-    if (jep85->last_state_rcvd == ROSTER_EVENT_COMPOSING)
-      events = ROSTER_EVENT_COMPOSING;
-    else
-      events = ROSTER_EVENT_NONE;
+    events = jep85->last_state_rcvd;
   } else {              /* JEP-0022 */
 #ifdef JEP0022
     const char *msgid;