summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/messages.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-05-20 13:26:29 +0000
committerRobert Pösel <robyer@seznam.cz>2013-05-20 13:26:29 +0000
commitb330de2b0bcf4d09a417c0ef154c3419b6930316 (patch)
tree962eb53ad945a1a26204f4f2d738bb94354d3d2b /protocols/FacebookRM/src/messages.cpp
parent7e065653a2ffe78094357f6838a5c15ac0fda885 (diff)
Facebook: Marking notifications as read with right click on popup.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4760 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/messages.cpp')
-rw-r--r--protocols/FacebookRM/src/messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/messages.cpp b/protocols/FacebookRM/src/messages.cpp
index 58dcc8275f..2893d62016 100644
--- a/protocols/FacebookRM/src/messages.cpp
+++ b/protocols/FacebookRM/src/messages.cpp
@@ -152,7 +152,7 @@ void FacebookProto::SendTypingWorker(void *p)
std::string data = "&source=mercury-chat";
data += (typing->status == PROTOTYPE_SELFTYPING_ON ? "&typ=1" : "&typ=0"); // PROTOTYPE_SELFTYPING_OFF
data += "&to=" + std::string(dbv.pszVal);
- data += "&fb_dtsg=" + facy.dtsg_;
+ data += "&fb_dtsg=" + (facy.dtsg_.length() ? facy.dtsg_ : "0");
data += "&lsd=&phstamp=0&__user=" + facy.self_.user_id;
http::response resp = facy.flap(FACEBOOK_REQUEST_TYPING_SEND, &data);