diff options
author | George Hazan <george.hazan@gmail.com> | 2025-05-16 14:23:24 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-05-16 14:23:24 +0300 |
commit | e9f031b2e757e0a9fb8cbdd0dcccd87b927c19ce (patch) | |
tree | f43f33977f19b6689f13f97569efbabd99f59862 | |
parent | 12fb164547e8ba5df078244116ecb096590a35ea (diff) |
fixes #5025 (Jabber: регрессии в 0.96.5)
-rw-r--r-- | protocols/JabberG/src/jabber_iqid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp index 431f9d26a0..8480bcacce 100644 --- a/protocols/JabberG/src/jabber_iqid.cpp +++ b/protocols/JabberG/src/jabber_iqid.cpp @@ -467,7 +467,7 @@ void CJabberProto::OnIqResultGetRoster(const TiXmlElement *iqNode, CJabberIqInfo continue;
MCONTACT hContact = HContactFromJID(jid);
- if (hContact == 0) // Received roster has a new JID.
+ if (hContact == 0 && !IsMyOwnJID(jid)) // Received roster has a new JID.
hContact = DBCreateContact(jid, nick, false, false); // Add the jid (with empty resource) to a Miranda's contact list.
JABBER_LIST_ITEM *item = ListAdd(LIST_ROSTER, jid, hContact);
|