summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r--protocols/SkypeWeb/src/skype_profile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/skype_profile.cpp b/protocols/SkypeWeb/src/skype_profile.cpp
index 0615d93b7a..6b4e4892e9 100644
--- a/protocols/SkypeWeb/src/skype_profile.cpp
+++ b/protocols/SkypeWeb/src/skype_profile.cpp
@@ -460,6 +460,9 @@ void CSkypeProto::LoadProfile(const NETLIBHTTPREQUEST *response, void *arg)
return;
}
+ if (username != li.szSkypename.get())
+ li.szSkypename = mir_strdup(username.c_str());
+
UpdateProfileFirstName(root, hContact);
UpdateProfileLastName(root, hContact);
UpdateProfileDisplayName(root, hContact);