summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/contact.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-08-17 18:50:20 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-08-17 18:50:20 +0000
commit5bc3f5153749a79e195e7e15ebe4d80ea3ddfa8e (patch)
treec2652321c96c995e334a6cc52dcf91fe4f7d8a32 /protocols/Skype/src/skypekit/contact.cpp
parente4d929237a9ab38e0da2d72070dda1cad58ab6b8 (diff)
Skype: some changes in file transfer
git-svn-id: http://svn.miranda-ng.org/main/trunk@5732 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skypekit/contact.cpp')
-rw-r--r--protocols/Skype/src/skypekit/contact.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/protocols/Skype/src/skypekit/contact.cpp b/protocols/Skype/src/skypekit/contact.cpp
index cd6afab9ef..c7a1a3247d 100644
--- a/protocols/Skype/src/skypekit/contact.cpp
+++ b/protocols/Skype/src/skypekit/contact.cpp
@@ -28,14 +28,18 @@ SEString CContact::GetNick()
this->GetPropPstnnumber(result);
else
{
+ SEString sid;
+ this->GetIdentity(sid);
+
this->GetPropDisplayname(result);
if (this->proto && this->proto->login)
{
- SEString sid;
- this->GetIdentity(sid);
if (sid.equals(result))
this->GetPropFullname(result);
}
+
+ if (result.size() == 0)
+ result = sid;
}
return result;
}