diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-06-26 07:04:37 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-06-26 07:04:37 +0000 |
commit | e3b515c53f4e3d77dd09c43009f3b0725f0949eb (patch) | |
tree | b2629d77c1da572d796a3d97fae101f7dea7300f /protocols/Skype/src/skypekit/contact.cpp | |
parent | bd1c30c57ac057a09565a1cbd0af39812207a832 (diff) |
Some improvements and cleanup in skype
git-svn-id: http://svn.miranda-ng.org/main/trunk@5137 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skypekit/contact.cpp')
-rw-r--r-- | protocols/Skype/src/skypekit/contact.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/protocols/Skype/src/skypekit/contact.cpp b/protocols/Skype/src/skypekit/contact.cpp index 07104e8dd7..622023a040 100644 --- a/protocols/Skype/src/skypekit/contact.cpp +++ b/protocols/Skype/src/skypekit/contact.cpp @@ -27,7 +27,16 @@ SEString CContact::GetNick() if (availability == CContact::SKYPEOUT)
this->GetPropPstnnumber(result);
else
- this->GetPropFullname(result);
+ {
+ this->GetPropDisplayname(result);
+ if (this->proto && this->proto->login)
+ {
+ SEString sid;
+ this->GetIdentity(sid);
+ if (sid.equals(result))
+ this->GetPropFullname(result);
+ }
+ }
return result;
}
|