diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-09 13:14:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-09 13:14:57 +0300 |
commit | 9d31ed4619e1614f98c39b9d224ff22b629ac123 (patch) | |
tree | f53fac1ad138d037f9065e41bf52bd9d72ef08e3 /protocols/FacebookRM/src/notifications.cpp | |
parent | 8587a88b4bd8c48fa524876d872773deb6fb2efc (diff) |
Facebook: code cleaning
Diffstat (limited to 'protocols/FacebookRM/src/notifications.cpp')
-rw-r--r-- | protocols/FacebookRM/src/notifications.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |