summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG')
-rw-r--r--protocols/JabberG/src/jabber_util.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp
index 437b2b482d..aad05772f7 100644
--- a/protocols/JabberG/src/jabber_util.cpp
+++ b/protocols/JabberG/src/jabber_util.cpp
@@ -55,10 +55,6 @@ MCONTACT CJabberProto::HContactFromJID(const char *jid, bool bStripResource)
if (item != nullptr && item->hContact)
return item->hContact;
- item = ListGetItemPtr(LIST_CHATROOM, jid);
- if (item != nullptr && item->hContact)
- return item->hContact;
-
if (bStripResource) {
char szJid[JABBER_MAX_JID_LEN];
JabberStripJid(jid, szJid, _countof(szJid));