diff options
author | George Hazan <ghazan@miranda.im> | 2019-05-28 21:18:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-05-28 21:18:20 +0300 |
commit | 2610fee647614e9e13daef898b99315c26fa987c (patch) | |
tree | 0ab57057cac9f109a4946385c95f6323a4feba32 /protocols/ICQ-WIM/src/poll.cpp | |
parent | 4688195c4327ca3749230371b3634bfc74203f3d (diff) |
ICQ-WIM: fix for a problem with embedded groups
Diffstat (limited to 'protocols/ICQ-WIM/src/poll.cpp')
-rw-r--r-- | protocols/ICQ-WIM/src/poll.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp index 01bc53200d..0f53a249fd 100644 --- a/protocols/ICQ-WIM/src/poll.cpp +++ b/protocols/ICQ-WIM/src/poll.cpp @@ -27,6 +27,7 @@ void CIcqProto::ProcessBuddyList(const JSONNode &ev) for (auto &it : ev["groups"]) { CMStringW szGroup = it["name"].as_mstring(); + szGroup.Replace(L">", L"\\"); bool bCreated = false; for (auto &buddy : it["buddies"]) { @@ -70,6 +71,7 @@ void CIcqProto::ProcessDiff(const JSONNode &ev) for (auto &it : block["data"]) { CMStringW szGroup = it["name"].as_mstring(); + szGroup.Replace(L">", L"\\"); bool bCreated = false; for (auto &buddy : it["buddies"]) { |