diff options
author | James Booth <boothj5@gmail.com> | 2014-03-08 21:20:26 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-03-08 21:20:26 +0000 |
commit | b177250f47f5599943b6772aed43de49834147e2 (patch) | |
tree | 822ad8a0b4e38c84b1e004922e1a8e0308d809ac /src/xmpp/iq.c | |
parent | dd1ee18c72268839de8af64de5eb07c5a2499ff2 (diff) | |
download | profani-tty-b177250f47f5599943b6772aed43de49834147e2.tar.gz |
Refactored muc_room_is_active to only take room, rather than full jid
Diffstat (limited to 'src/xmpp/iq.c')
-rw-r--r-- | src/xmpp/iq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 7c8a61c4..fee1c661 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -247,7 +247,7 @@ _version_result_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, PContact contact; Jid *jidp = jid_create(jid); - if (muc_room_is_active(jidp)) { + if (muc_room_is_active(jidp->barejid)) { contact = muc_get_participant(jidp->barejid, jidp->resourcepart); } else { contact = roster_get_contact(jidp->barejid); |