diff options
Diffstat (limited to 'protocols/Skype/src/skype_profile.cpp')
-rw-r--r-- | protocols/Skype/src/skype_profile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_profile.cpp b/protocols/Skype/src/skype_profile.cpp index 37d9dff106..44ddea1d42 100644 --- a/protocols/Skype/src/skype_profile.cpp +++ b/protocols/Skype/src/skype_profile.cpp @@ -370,5 +370,10 @@ void CSkypeProto::UpdateProfile(SEObject *obj, HANDLE hContact) void __cdecl CSkypeProto::LoadOwnInfo(void*)
{
+ wchar_t *nick = ::db_get_wsa(NULL, this->m_szModuleName, "Nick");
+ if (!nick || !::wcslen(nick))
+ {
+ ::db_set_ws(NULL, this->m_szModuleName, "Nick", this->login);
+ }
this->UpdateProfile(this->account.fetch());
}
\ No newline at end of file |