diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-06-23 23:04:00 +0200 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-06-23 23:06:09 +0200 |
commit | b71358ca8a217133f04ede0ba3f26718a45df802 (patch) | |
tree | 63a369b93dfeeec29369213450a41337143a7edd /protocols/FacebookRM/src/requests/messages.h | |
parent | eb2de5cc9dd3b76513c552f5e58c4d6a5340997c (diff) |
Facebook: unneeded crutch removed (reverted from commit b846cb5043b6d5f5ac59cb40f252bc9ced189dfd)
We need values with "abcdefgh...xyz0123456789", that's why radix 36 was used. INT_VALUE produces only numbers.
Diffstat (limited to 'protocols/FacebookRM/src/requests/messages.h')
-rw-r--r-- | protocols/FacebookRM/src/requests/messages.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/requests/messages.h b/protocols/FacebookRM/src/requests/messages.h index 9dbbf3aab7..5241e86d25 100644 --- a/protocols/FacebookRM/src/requests/messages.h +++ b/protocols/FacebookRM/src/requests/messages.h @@ -95,7 +95,7 @@ public: << CHAR_VALUE("__user", fc->self_.user_id.c_str()) << CHAR_VALUE("__dyn", fc->__dyn()) - << INT_VALUE("__req", fc->__req()) + << CHAR_VALUE("__req", fc->__req()) << CHAR_VALUE("__rev", fc->__rev()) << CHAR_VALUE("fb_dtsg", fc->dtsg_.c_str()) << CHAR_VALUE("ttstamp", fc->ttstamp_.c_str()) @@ -125,7 +125,7 @@ public: << "source=mercury-chat" << CHAR_VALUE("__user", fc->self_.user_id.c_str()) << CHAR_VALUE("__dyn", fc->__dyn()) - << INT_VALUE("__req", fc->__req()) + << CHAR_VALUE("__req", fc->__req()) << CHAR_VALUE("__rev", fc->__rev()) << CHAR_VALUE("fb_dtsg", fc->dtsg_.c_str()) << CHAR_VALUE("ttstamp", fc->ttstamp_.c_str()) @@ -160,7 +160,7 @@ public: << CHAR_VALUE("ttstamp", fc->ttstamp_.c_str()) << CHAR_VALUE("__user", fc->self_.user_id.c_str()) << CHAR_VALUE("__dyn", fc->__dyn()) - << INT_VALUE("__req", fc->__req()) + << CHAR_VALUE("__req", fc->__req()) << CHAR_VALUE("__rev", fc->__rev()) << "__a=1"; } |