diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-08-17 12:53:00 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-08-17 12:53:00 +0000 |
commit | 0bb9ef2de2e7cf475ef1e4be81e9480dd3fc95d7 (patch) | |
tree | de0c7c658e6b29664ca4e591ce55aa120a4ae63c /protocols | |
parent | 51784b04c1146106abf9bf4a78e431bbc3c8fcf5 (diff) |
Facebook: Remove rest of unused buddy_list request
git-svn-id: http://svn.miranda-ng.org/main/trunk@17188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 5 | ||||
-rw-r--r-- | protocols/FacebookRM/src/constants.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index 7c16a70ead..6662735d26 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -250,7 +250,6 @@ std::string facebook_client::choose_server(RequestType request_type) return this->mbasicWorks ? FACEBOOK_SERVER_MBASIC : FACEBOOK_SERVER_MOBILE; // case REQUEST_LOGOUT: - // case REQUEST_BUDDY_LIST: // case REQUEST_USER_INFO: // case REQUEST_USER_INFO_ALL: // case REQUEST_FEEDS: @@ -307,9 +306,6 @@ std::string facebook_client::choose_action(RequestType request_type, std::string case REQUEST_DTSG: return "/editprofile.php?edit=current_city&type=basic"; - case REQUEST_BUDDY_LIST: - return "/ajax/chat/buddy_list.php?__a=1"; - case REQUEST_USER_INFO: return "/ajax/chat/user_info.php?__a=1"; @@ -543,7 +539,6 @@ bool facebook_client::notify_errors(RequestType request_type) { switch (request_type) { - case REQUEST_BUDDY_LIST: case REQUEST_MESSAGES_SEND: return false; diff --git a/protocols/FacebookRM/src/constants.h b/protocols/FacebookRM/src/constants.h index 80ea773873..378ad30cf0 100644 --- a/protocols/FacebookRM/src/constants.h +++ b/protocols/FacebookRM/src/constants.h @@ -149,7 +149,6 @@ enum RequestType { REQUEST_POKE, // sending pokes
REQUEST_NOTIFICATIONS_READ, // marking notifications read
- REQUEST_BUDDY_LIST, // getting regular updates (friends online, ...)
REQUEST_USER_INFO, // getting info about particular friend
REQUEST_USER_INFO_ALL, // getting info about all friends
REQUEST_USER_INFO_MOBILE, // getting info about particular user (from mobile website)
|