diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-07-30 23:15:49 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-07-30 23:15:49 +0000 |
commit | 3e7ef2c033af2cc511f83a8f154f129394f3832b (patch) | |
tree | 35457bec566fdd699d959c66583c59b1eacdf078 /protocols/FacebookRM/src/process.cpp | |
parent | 6dcfe55905a55fad9169a26d434c93ca15d0717f (diff) |
Facebook: Requests constant renaming
git-svn-id: http://svn.miranda-ng.org/main/trunk@10000 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/process.cpp')
-rw-r--r-- | protocols/FacebookRM/src/process.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index ce337121bf..f3d91e02f1 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -157,7 +157,7 @@ void FacebookProto::ProcessFriendList(void*) facy.handle_entry("load_friends"); // Get buddy list - http::response resp = facy.flap(REQUEST_LOAD_FRIENDS); + http::response resp = facy.flap(REQUEST_USER_INFO_ALL); if (resp.code != HTTP_CODE_OK) { facy.handle_error("load_friends"); @@ -837,7 +837,7 @@ void FacebookProto::ProcessFriendRequests(void*) facy.handle_entry("friendRequests"); // Get notifications - http::response resp = facy.flap(REQUEST_LOAD_REQUESTS); + http::response resp = facy.flap(REQUEST_LOAD_FRIENDSHIPS); if (resp.code != HTTP_CODE_OK) { facy.handle_error("friendRequests"); @@ -1238,11 +1238,11 @@ void FacebookProto::SearchIdAckThread(void *targ) if (!isOffline()) { - http::response resp = facy.flap(REQUEST_USER_INFO, NULL, &search); + http::response resp = facy.flap(REQUEST_USER_INFO_MOBILE, NULL, &search); if (resp.code == HTTP_CODE_FOUND && resp.headers.find("Location") != resp.headers.end()) { search = utils::text::source_get_value(&resp.headers["Location"], 2, FACEBOOK_SERVER_MOBILE"/", "_rdr", true); - resp = facy.flap(REQUEST_USER_INFO, NULL, &search); + resp = facy.flap(REQUEST_USER_INFO_MOBILE, NULL, &search); } if (resp.code == HTTP_CODE_OK) |