From cd8f45686a27bf2ec95ae905d5e9742269013c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 4 Dec 2014 14:11:58 +0000 Subject: Facebook: Rename key "Deleted" to "DeletedTS" git-svn-id: http://svn.miranda-ng.org/main/trunk@11242 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/process.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'protocols/FacebookRM/src/process.cpp') diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index d7e676324b..1923b674c0 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -182,6 +182,13 @@ void FacebookProto::ProcessFriendList(void*) if ( isChatRoom(hContact)) continue; + // TODO RM: change name of "Deleted" key to "DeletedTS", remove this code in some next version + int deletedTS = getDword(hContact, "Deleted", 0); + if (deletedTS != 0) { + delSetting(hContact, "Deleted"); + setDword(hContact, FACEBOOK_KEY_DELETED, deletedTS); + } + facebook_user *fbu; ptrA id(getStringA(hContact, FACEBOOK_KEY_ID)); if (id != NULL) { -- cgit v1.2.3