summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-09-07 11:43:11 +0000
committerRobert Pösel <robyer@seznam.cz>2014-09-07 11:43:11 +0000
commit79e0cd73cc37cd26df6957df584c1c12e61d7dc2 (patch)
tree5c9166372f0a07c84bb5b6111edead9f044b0230 /protocols/FacebookRM/src/proto.cpp
parent36fda94bceb22984f08944e1a89d420a90cd6299 (diff)
Facebook: dtsg_ is never empty
git-svn-id: http://svn.miranda-ng.org/main/trunk@10388 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 18fb6fc93a..3b3f82f972 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -835,7 +835,7 @@ void FacebookProto::ReadNotificationWorker(void *p)
std::string *id = static_cast<std::string*>(p);
std::string data = "seen=0&asyncSignal=&__dyn=&__req=a&alert_ids%5B0%5D=" + utils::url::encode(*id);
- data += "&fb_dtsg=" + (facy.dtsg_.length() ? facy.dtsg_ : "0");
+ data += "&fb_dtsg=" + facy.dtsg_;
data += "&__user=" + facy.self_.user_id;
facy.flap(REQUEST_NOTIFICATIONS_READ, NULL, &data);