diff options
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index 6f4d94a7ff..ace8c0176d 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -385,7 +385,11 @@ std::string facebook_client::choose_action( int request_type, std::string* data, case FACEBOOK_REQUEST_DELETE_FRIEND:
{
- return "/ajax/profile/removefriend.php?__a=1";
+ std::string action = "/ajax/profile/removefriendconfirm.php?__a=1";
+ if (get_data != NULL) {
+ action += *get_data;
+ }
+ return action;
}
case FACEBOOK_REQUEST_REQUEST_FRIEND:
|