diff options
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 9fed01e483..7501fe117e 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -924,16 +924,12 @@ void FacebookProto::ReadNotificationWorker(void *p) return; } - std::string data = "alert_ids%5B0%5D=" + utils::url::encode(*id); - data += "&seen=true"; + std::string data = "seen=0&asyncSignal=&__dyn=&__rev=&__req=&alert_ids%5B0%5D=" + utils::url::encode(*id); data += "&fb_dtsg=" + facy.dtsg_; data += "&__user=" + facy.self_.user_id; data += "&ttstamp=" + facy.ttstamp_; - data += "&__dyn=" + facy.__dyn(); - data += "&__req=" + facy.__req(); - data += "&__rev=" + facy.__rev(); - facy.flap(REQUEST_NOTIFICATIONS_READ, &data); // NOTE: Request revised 11.2.2016 + facy.flap(REQUEST_NOTIFICATIONS_READ, NULL, &data); // NOTE: Request revised 11.2.2016 (we're not using the main website request, as it doesn't work, but still the old one with GET parameters) delete id; } |