From 9d31ed4619e1614f98c39b9d224ff22b629ac123 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 9 Jan 2018 13:14:57 +0300 Subject: Facebook: code cleaning --- protocols/FacebookRM/src/notifications.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/FacebookRM/src/notifications.cpp') diff --git a/protocols/FacebookRM/src/notifications.cpp b/protocols/FacebookRM/src/notifications.cpp index 5904eece86..516b80be20 100644 --- a/protocols/FacebookRM/src/notifications.cpp +++ b/protocols/FacebookRM/src/notifications.cpp @@ -34,9 +34,7 @@ HttpRequest* facebook_client::getNotificationsRequest(int count) p->Body << CHAR_PARAM("__user", self_.user_id.c_str()) << CHAR_PARAM("fb_dtsg", dtsg_.c_str()) - // << "cursor=" // when loading more << INT_PARAM("length", count) // number of items to load - // << "businessID=" // probably for pages? << CHAR_PARAM("ttstamp", ttstamp_.c_str()) << CHAR_PARAM("__dyn", __dyn()) << CHAR_PARAM("__req", __req()) @@ -64,7 +62,7 @@ HttpRequest* facebook_client::markNotificationReadRequest(const char *id) << CHAR_PARAM("__dyn", __dyn()) << CHAR_PARAM("__req", __req()) << CHAR_PARAM("__rev", __rev()) - << CHAR_PARAM("alert_ids%5B0%5D", id); + << CHAR_PARAM("alert_ids[0]", id); return p; } -- cgit v1.2.3