diff options
author | George Hazan <ghazan@miranda.im> | 2017-05-16 23:10:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-05-16 23:10:30 +0300 |
commit | 0975edf72e780bfe53e7f9101442fe72db93a863 (patch) | |
tree | cdf2daae3eb354f15cf218eee712cbbef627ef49 /protocols/SkypeWeb | |
parent | 6809d65a6cfe7481e0975c1d7e8846960c8c4cc5 (diff) |
fix for duplicate messages in Skype
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/skype_profile.cpp | 3 |
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);
|