summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-08-16 12:26:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-08-16 12:26:50 +0300
commit7bbe8d0d988250da3402dca1f15e857ed41ed994 (patch)
tree372672cb5328de2c8d55494d63ffc004d11cde5b /protocols/JabberG
parent78d9faca5242838c8d6f5476fd90f7484a63b7c4 (diff)
that was wrong idea
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));