summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/communication.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-05-30 22:05:31 +0000
committerRobert Pösel <robyer@seznam.cz>2015-05-30 22:05:31 +0000
commit978fdf664072386d3be6c2210452aa3d140200f7 (patch)
tree9ebfbbd35b0edf0e85f54b4bcf54399d09d3143d /protocols/FacebookRM/src/communication.cpp
parent73ce939948a8ed16495db7999d34c2dafee5f390 (diff)
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
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r--protocols/FacebookRM/src/communication.cpp11
1 files changed, 1 insertions, 10 deletions
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: