equal
deleted
inserted
replaced
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); |