summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_own_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_own_info.cpp')
-rw-r--r--protocols/Skype/src/skype_own_info.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_own_info.cpp b/protocols/Skype/src/skype_own_info.cpp
index cc5fb4c123..5fed41ddad 100644
--- a/protocols/Skype/src/skype_own_info.cpp
+++ b/protocols/Skype/src/skype_own_info.cpp
@@ -8,6 +8,11 @@ void __cdecl CSkypeProto::LoadOwnInfo(void *)
SEString data;
this->account->GetPropFullname(data);
+ if (data.length() == 0)
+ {
+ this->account->GetPropSkypename(data);
+ }
+
nick = ::mir_utf8decodeW(data);
::db_set_ws(NULL, this->m_szModuleName, "Nick", nick);
}