diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index 27e813e940..29a8b8533d 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -283,6 +283,10 @@ MCONTACT CIcqProto::ParseBuddyInfo(const JSONNode &buddy, MCONTACT hContact) Json2string(hContact, profile, "lastName", "LastName"); Json2string(hContact, profile, "aboutMe", DB_KEY_ABOUT); + ptrW wszNick(getWStringA(hContact, "Nick")); + if (wszNick) + setWString(hContact, "Nick", profile["friendlyName"].as_mstring()); + time_t birthDate = profile["birthDate"].as_int(); if (birthDate != 0) { struct tm *timeinfo = localtime(&birthDate); |