Removed jid_is_room()

This commit is contained in:
James Booth
2013-01-13 18:06:29 +00:00
parent b768296a93
commit d87c20e666
3 changed files with 1 additions and 13 deletions

View File

@@ -532,7 +532,7 @@ _groupchat_message_handler(xmpp_stanza_t * const stanza)
Jid *jid = jid_create(room_jid);
// handle room broadcasts
if (jid_is_room(room_jid)) {
if (jid->resourcepart == NULL) {
xmpp_stanza_t *subject = xmpp_stanza_get_child_by_name(stanza, STANZA_NAME_SUBJECT);
// handle subject