From 7717d512bcb36e8af48869eca18d56827d34d0da Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 29 Apr 2013 08:24:36 +0000 Subject: temporary avatar updating coz skypekit not working correctly git-svn-id: http://svn.miranda-ng.org/main/trunk@4568 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_profile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Skype/src/skype_profile.cpp') diff --git a/protocols/Skype/src/skype_profile.cpp b/protocols/Skype/src/skype_profile.cpp index 90ca29133a..fe2f5a1d3d 100644 --- a/protocols/Skype/src/skype_profile.cpp +++ b/protocols/Skype/src/skype_profile.cpp @@ -41,7 +41,7 @@ SettingItem CSkypeProto::setting[] = { void CSkypeProto::UpdateProfileAvatar(SEObject *obj, HANDLE hContact) { uint newTS = hContact ? obj->GetUintProp(Contact::P_AVATAR_TIMESTAMP) : obj->GetUintProp(Account::P_AVATAR_TIMESTAMP); - if (!newTS) return; + //if (!newTS) return; //uncomment when skypekit will be work correctly DWORD oldTS = ::db_get_dw(hContact, this->m_szModuleName, "AvatarTS", 0); @@ -330,7 +330,7 @@ void CSkypeProto::UpdateProfileTimezone(SEObject *obj, HANDLE hContact) void CSkypeProto::UpdateProfile(SEObject *obj, HANDLE hContact) { - //this->UpdateProfileAvatar(obj, hContact); + this->UpdateProfileAvatar(obj, hContact); uint newTS = hContact ? obj->GetUintProp(Contact::P_PROFILE_TIMESTAMP) : obj->GetUintProp(Account::P_PROFILE_TIMESTAMP); if (newTS > ::db_get_dw(hContact, this->m_szModuleName, "ProfileTS", 0)) -- cgit v1.2.3