From 0975edf72e780bfe53e7f9101442fe72db93a863 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 16 May 2017 23:10:30 +0300 Subject: fix for duplicate messages in Skype --- protocols/SkypeWeb/src/skype_profile.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols') 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); -- cgit v1.2.3