diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-09 15:57:12 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-09 15:57:16 +0300 |
commit | 79a7407bff248cc348247220b4607b06e0b57548 (patch) | |
tree | bcec5c2dc1550df77c40a9eb2a9ffad47ed81a3d | |
parent | 85b95dfd858bdf4734911c4d0613b5bc0c81d7ad (diff) |
fixes #3880 (Jabber: добавление самого себя в ростер приводит к размножению контактов)
-rw-r--r-- | protocols/JabberG/src/jabber_util.cpp | 3 |
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;
|