mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-01 09:46:22 +00:00
Refactored muc_room_is_active to only take room, rather than full jid
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user