diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-04 14:11:58 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-04 14:11:58 +0000 |
commit | cd8f45686a27bf2ec95ae905d5e9742269013c57 (patch) | |
tree | 9a93e1ad86aae0755991c662097ef2b2f15d1ee6 /protocols/FacebookRM | |
parent | e89765da6a2c6e5efb6e019ebd037e0d3f1565b0 (diff) |
Facebook: Rename key "Deleted" to "DeletedTS"
git-svn-id: http://svn.miranda-ng.org/main/trunk@11242 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/process.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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) { |