summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_profile.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-09-17 15:29:58 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-09-17 15:29:58 +0300
commit65c3a1882c6855158988620ac29a53f698a137b1 (patch)
tree42f52aecae7fde58908c368afa60cac5f761a2a0 /protocols/SkypeWeb/src/skype_profile.cpp
parent63805b20b533d5d95f7fbc91e16ce2e455025797 (diff)
code cleaning
Diffstat (limited to 'protocols/SkypeWeb/src/skype_profile.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_profile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_profile.cpp b/protocols/SkypeWeb/src/skype_profile.cpp
index 6aba685c73..2b5dc0eced 100644
--- a/protocols/SkypeWeb/src/skype_profile.cpp
+++ b/protocols/SkypeWeb/src/skype_profile.cpp
@@ -94,9 +94,9 @@ void CSkypeProto::UpdateProfileEmails(const JSONNode &root, MCONTACT hContact)
void CSkypeProto::UpdateProfileAvatar(const JSONNode &root, MCONTACT hContact)
{
- CMStringW province = root["avatarUrl"].as_mstring();
- if (!province.IsEmpty() && province != "null") {
- SetAvatarUrl(hContact, province);
+ CMStringW szUrl = root["avatarUrl"].as_mstring();
+ if (!szUrl.IsEmpty() && szUrl != "null") {
+ SetAvatarUrl(hContact, szUrl);
ReloadAvatarInfo(hContact);
}
}