From ee16115cdef84af098a62a6ce46515af6a109d12 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 29 Jun 2020 16:20:36 +0300 Subject: fixes #2439 (Jabber: roster editor adds false contacts) --- protocols/JabberG/src/jabber_roster.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'protocols/JabberG') 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")); -- cgit v1.2.3