From 0bb9ef2de2e7cf475ef1e4be81e9480dd3fc95d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 17 Aug 2016 12:53:00 +0000 Subject: Facebook: Remove rest of unused buddy_list request git-svn-id: http://svn.miranda-ng.org/main/trunk@17188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/communication.cpp | 5 ----- protocols/FacebookRM/src/constants.h | 1 - 2 files changed, 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) -- cgit v1.2.3