From 978fdf664072386d3be6c2210452aa3d140200f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sat, 30 May 2015 22:05:31 +0000 Subject: Facebook: Fix loading unread notifications on login (checks only last 20 items) git-svn-id: http://svn.miranda-ng.org/main/trunk@13918 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/communication.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'protocols/FacebookRM/src/communication.cpp') diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index 4de82524ba..2583e7a377 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -375,16 +375,7 @@ std::string facebook_client::choose_action(RequestType request_type, std::string case REQUEST_NOTIFICATIONS: { - // __req=5 .. počítá počet všech různých požadavků (asi možná jen na /ajax/...) - - std::string action = "/ajax/notifications/client/get.php?__a=1&__dyn=&__req=&__rev="; - action += "&__user=" + this->self_.user_id; - action += "&fb_dtsg=" + this->dtsg_; - action += "&cursor="; // when loading more - action += "&length=15"; // number of items to load - action += "&businessID="; // probably for pages? idk - action += "&ttstamp=" + ttstamp(); - return action; + return "/ajax/notifications/client/get.php?__a=1"; } case REQUEST_RECONNECT: -- cgit v1.2.3