diff options
author | George Hazan <ghazan@miranda.im> | 2020-06-29 16:20:36 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-06-29 16:20:36 +0300 |
commit | ee16115cdef84af098a62a6ce46515af6a109d12 (patch) | |
tree | 9a5761f3869b7736fb7012475470e2501f51381f /protocols/JabberG | |
parent | d95fc3ef9e7576ad4ab4dd099c4508c4302d91e5 (diff) |
fixes #2439 (Jabber: roster editor adds false contacts)
Diffstat (limited to 'protocols/JabberG')
-rw-r--r-- | protocols/JabberG/src/jabber_roster.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/protocols/JabberG/src/jabber_roster.cpp b/protocols/JabberG/src/jabber_roster.cpp index a9190a359e..aadf31ec07 100644 --- a/protocols/JabberG/src/jabber_roster.cpp +++ b/protocols/JabberG/src/jabber_roster.cpp @@ -303,11 +303,6 @@ public: LVFINDINFO lvfi = { 0 }; lvfi.flags = LVFI_STRING; lvfi.psz = tszJid; - wchar_t *p = wcschr(tszJid, '@'); - if (p) { - p = wcschr(tszJid, '/'); - if (p) *p = 0; - } if (m_list.FindItem(-1, &lvfi) == -1) { ptrA tszName(db_get_utfa(hContact, "CList", "MyHandle")); ptrA tszGroup(db_get_utfa(hContact, "CList", "Group")); |