changeset 998:f984baa9a789

Do not use JEP-22 in MUC rooms
author Mikael Berthe <mikael@lilotux.net>
date Fri, 03 Nov 2006 21:10:30 +0100
parents d0d0cd9e39c4
children 9687ecc59303
files mcabber/src/jabglue.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/jabglue.c	Thu Nov 02 22:34:52 2006 +0100
+++ b/mcabber/src/jabglue.c	Fri Nov 03 21:10:30 2006 +0100
@@ -462,7 +462,7 @@
 
 #if defined JEP0022 || defined JEP0085
   // If typing notifications are disabled, we can skip all this stuff...
-  if (chatstates_disabled)
+  if (chatstates_disabled || type == ROSTER_TYPE_ROOM)
     goto jb_send_msg_no_chatstates;
 
   rname = strchr(jid, JID_RESOURCE_SEPARATOR);