summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/JabberG/src/jabber_util.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp
index c718d02293..fb1af37244 100644
--- a/protocols/JabberG/src/jabber_util.cpp
+++ b/protocols/JabberG/src/jabber_util.cpp
@@ -81,9 +81,6 @@ MCONTACT CJabberProto::HContactFromJID(const char *jid, bool bStripResource)
if (jid == nullptr)
return 0;
- if (!strcmp(jid, m_szJabberJID ? m_szJabberJID : getMStringA("jid")))
- return 0;
-
JABBER_LIST_ITEM *item = ListGetItemPtr(LIST_ROSTER, jid);
if (item != nullptr && item->hContact)
return item->hContact;