diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-05-31 07:03:01 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-05-31 07:03:01 +0000 |
commit | 63bea9fe2a7f02f9246db900c08501fd6f567918 (patch) | |
tree | 277618b1f0901c3d2a99146cbbf655c410a3d5c9 /protocols/FacebookRM/src/communication.cpp | |
parent | 656dc1d17f378e819fb6723b7cd1dc8b14d22a5e (diff) |
Facebook: Fix loading notifications on login again (now really) and marking them as read
git-svn-id: http://svn.miranda-ng.org/main/trunk@13924 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index 2583e7a377..e9e3de967f 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -445,11 +445,11 @@ std::string facebook_client::choose_action(RequestType request_type, std::string action += "&cap=0"; // TODO: what's this item? // action += "&wtc=0,0,0.000,0,0"; // TODO: what's this item? It's numbers grows with every new request... + action += "&msgs_recv=" + utils::conversion::to_string(&this->chat_msgs_recv_, UTILS_CONV_UNSIGNED_NUMBER); + action += "&uid=" + self_.user_id; action += "&viewer_uid=" + self_.user_id; - action += "&msgs_recv=" + utils::conversion::to_string(&this->chat_msgs_recv_, UTILS_CONV_UNSIGNED_NUMBER); - if (!this->chat_sticky_num_.empty()) action += "&sticky_token=" + this->chat_sticky_num_; |