diff options
author | George Hazan <ghazan@miranda.im> | 2020-05-25 19:27:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-05-25 19:27:06 +0300 |
commit | 67adb1e398ec542ad62711c30031088685161546 (patch) | |
tree | 4fe1e7ea295947e12aad6e0de089fe80a71b4d1f /protocols/JabberG/src/jabber_events.cpp | |
parent | 2216a0138ffac6e6d9052083c23f8bdb75856457 (diff) |
Jabber: custom roster nicks should be ignored as well as roster groups
Diffstat (limited to 'protocols/JabberG/src/jabber_events.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_events.cpp b/protocols/JabberG/src/jabber_events.cpp index 3285ab91a1..237b1f6b50 100644 --- a/protocols/JabberG/src/jabber_events.cpp +++ b/protocols/JabberG/src/jabber_events.cpp @@ -145,7 +145,7 @@ void __cdecl CJabberProto::OnAddContactForever(MCONTACT hContact) XmlNode xPresence("presence"); xPresence << XATTR("to", jid) << XATTR("type", "subscribe");
ptrA myNick(getUStringA("Nick"));
- if (myNick != nullptr)
+ if (myNick != nullptr && !m_bIgnoreRoster)
xPresence << XCHILD("nick", myNick) << XATTR("xmlns", JABBER_FEAT_NICK);
m_ThreadInfo->send(xPresence);
|