diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-29 17:39:58 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-29 17:39:58 +0300 |
commit | 7091bdb006d885884e2151da398fb2819e7ed49a (patch) | |
tree | bafae860ac7f9b330a26a8657d73f2f24d5fe2f3 /protocols | |
parent | b59bccc0706129977c4f599a57a8706b5d9cd7be (diff) |
more for #4084
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index fc16ed5278..dc63d31aa2 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -403,10 +403,8 @@ MCONTACT CIcqProto::ParseBuddyInfo(const JSONNode &buddy, MCONTACT hContact, boo const JSONNode &profile = buddy["profile"];
if (profile) {
Json2string(hContact, profile, "friendlyName", DB_KEY_ICQNICK, bIsPartial);
- if (hContact != m_hFavContact) {
- Json2string(hContact, profile, "firstName", "FirstName", bIsPartial);
- Json2string(hContact, profile, "lastName", "LastName", bIsPartial);
- }
+ Json2string(hContact, profile, "firstName", "FirstName", bIsPartial);
+ Json2string(hContact, profile, "lastName", "LastName", bIsPartial);
Json2string(hContact, profile, "aboutMe", DB_KEY_ABOUT, bIsPartial);
ptrW wszNick(getWStringA(hContact, "Nick"));
@@ -897,6 +895,7 @@ void CIcqProto::SetOwnId(const CMStringW &wszId) }
setWString(pUser->m_hContact, "Nick", TranslateT("Favorites"));
+ db_set_ws(pUser->m_hContact, "CList", "MyHandle", TranslateT("Favorites"));
if (m_hFavContact == INVALID_CONTACT_ID) {
m_hFavContact = pUser->m_hContact;
|