summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG')
-rw-r--r--protocols/JabberG/src/jabber_roster.cpp5
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"));