From fe3eb8ad9dfaee5e45ca306534f011c4e96aa31d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 4 Apr 2014 14:27:32 +0000 Subject: 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 --- protocols/FacebookRM/src/proto.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src') 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; } -- cgit v1.2.3