mcabber/src/jabglue.c
changeset 998 f984baa9a789
parent 997 d0d0cd9e39c4
child 999 9687ecc59303
equal deleted inserted replaced
997:d0d0cd9e39c4 998:f984baa9a789
   460     xmlnode_insert_cdata(y, subject, (unsigned) -1);
   460     xmlnode_insert_cdata(y, subject, (unsigned) -1);
   461   }
   461   }
   462 
   462 
   463 #if defined JEP0022 || defined JEP0085
   463 #if defined JEP0022 || defined JEP0085
   464   // If typing notifications are disabled, we can skip all this stuff...
   464   // If typing notifications are disabled, we can skip all this stuff...
   465   if (chatstates_disabled)
   465   if (chatstates_disabled || type == ROSTER_TYPE_ROOM)
   466     goto jb_send_msg_no_chatstates;
   466     goto jb_send_msg_no_chatstates;
   467 
   467 
   468   rname = strchr(jid, JID_RESOURCE_SEPARATOR);
   468   rname = strchr(jid, JID_RESOURCE_SEPARATOR);
   469   barejid = jidtodisp(jid);
   469   barejid = jidtodisp(jid);
   470   sl_buddy = roster_find(barejid, jidsearch, ROSTER_TYPE_USER);
   470   sl_buddy = roster_find(barejid, jidsearch, ROSTER_TYPE_USER);