summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/contact.cpp
diff options
context:
space:
mode:
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;
}