summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_chat.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/skype_chat.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/skype_chat.cpp')
-rw-r--r--protocols/Skype/src/skype_chat.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp
index ee3626842e..e24b075645 100644
--- a/protocols/Skype/src/skype_chat.cpp
+++ b/protocols/Skype/src/skype_chat.cpp
@@ -1565,10 +1565,7 @@ void CSkypeProto::UpdateChatUserNick(const ContactRef &contact)
contact->GetIdentity(data);
ptrW sid(::mir_utf8decodeW(data));
- contact->GetPropFullname(data);
- ptrW nick(::mir_utf8decodeW(data));
- if (data.length() == 0)
- nick = ::mir_wstrdup(sid);
+ ptrW nick(::mir_utf8decodeW(((CContact::Ref)contact)->GetNick()));
GC_INFO gci = {0};
gci.Flags = BYINDEX | DATA;