From 0f85b707f965963be9de6a30061c2329d50dcc0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 12 Feb 2016 01:58:28 +0000 Subject: Facebook: Revert REQUEST_NOTIFICATIONS_READ change to fix marking notifications as read git-svn-id: http://svn.miranda-ng.org/main/trunk@16274 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/communication.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src/communication.cpp') diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index 0996625777..703378120b 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -498,7 +498,13 @@ std::string facebook_client::choose_action(RequestType request_type, std::string return "/ajax/mercury/change_read_status.php?__a=1"; case REQUEST_NOTIFICATIONS_READ: - return "/ajax/notifications/mark_read.php?__a=1"; + { + std::string action = "/ajax/notifications/mark_read.php?__a=1"; + if (get_data != NULL) { + action += "&" + (*get_data); + } + return action; + } case REQUEST_TYPING_SEND: return "/ajax/messaging/typ.php?__a=1"; -- cgit v1.2.3