summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-09-01 21:17:10 +0000
committerRobert Pösel <robyer@seznam.cz>2015-09-01 21:17:10 +0000
commit62869feea2d58ccc8d585803305994b3fd529792 (patch)
tree68ff6d299690e0ba7d56282bfb313b5735e85bdd /protocols/FacebookRM/src/proto.cpp
parent140039aa214f240421dc3b629d15d5ed506c72af (diff)
Facebook: Various fixes
* Use InterlockedIncrement for msgId * Remove old phstamp parameter and use fixed ttstamp instead * Use __req parameter in requests * Use __rev parameter with static value in requests (hopefully it's better than empty) git-svn-id: http://svn.miranda-ng.org/main/trunk@15139 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r--protocols/FacebookRM/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index cfa288d696..7992d2785d 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -921,7 +921,7 @@ void FacebookProto::ReadNotificationWorker(void *p)
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 += "&ttstamp=" + facy.ttstamp_;
facy.flap(REQUEST_NOTIFICATIONS_READ, NULL, &data);