diff options
-rw-r--r-- | protocols/ICQ-WIM/src/poll.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp index 9409d474d3..477e3432bc 100644 --- a/protocols/ICQ-WIM/src/poll.cpp +++ b/protocols/ICQ-WIM/src/poll.cpp @@ -50,11 +50,13 @@ void CIcqProto::ProcessBuddyList(const JSONNode &ev) if (hContact == INVALID_CONTACT_ID) continue; + setWString(hContact, "IcqGroup", pGroup->wszName); + ptrW mirGroup(Clist_GetGroup(hContact)); if (mir_wstrcmp(mirGroup, pGroup->wszName)) bEnableMenu = true; - if (mirGroup) { + if (!mirGroup) { if (!bCreated) { Clist_GroupCreate(0, pGroup->wszName); bCreated = true; |