summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-04-04 14:27:32 +0000
committerRobert Pösel <robyer@seznam.cz>2014-04-04 14:27:32 +0000
commitfe3eb8ad9dfaee5e45ca306534f011c4e96aa31d (patch)
treebfbaaec7c753020f99c84d1a522731600f893136
parentc093c92a8f5cac327da55ad883076c460039e36b (diff)
Facebook: When loading userInfo use CheckAvatarChange() for avatar changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8851 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/FacebookRM/src/proto.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index ceb54aa774..fc837ffaad 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -337,8 +337,7 @@ int FacebookProto::GetInfo(MCONTACT hContact, int infoType)
if (fbu.gender)
setByte(hContact, "Gender", fbu.gender);
- if (!fbu.image_url.empty())
- setString(hContact, FACEBOOK_KEY_AV_URL, fbu.image_url.c_str());
+ CheckAvatarChange(hContact, fbu.image_url);
return 1;
}