summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/requests/notifications.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-06-23 23:04:00 +0200
committerRobert Pösel <robyer@seznam.cz>2017-06-23 23:06:09 +0200
commitb71358ca8a217133f04ede0ba3f26718a45df802 (patch)
tree63a369b93dfeeec29369213450a41337143a7edd /protocols/FacebookRM/src/requests/notifications.h
parenteb2de5cc9dd3b76513c552f5e58c4d6a5340997c (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/notifications.h')
-rw-r--r--protocols/FacebookRM/src/requests/notifications.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/requests/notifications.h b/protocols/FacebookRM/src/requests/notifications.h
index ecaed10966..72643ce6e8 100644
--- a/protocols/FacebookRM/src/requests/notifications.h
+++ b/protocols/FacebookRM/src/requests/notifications.h
@@ -42,7 +42,7 @@ public:
<< "businessID=" // probably for pages?
<< CHAR_VALUE("ttstamp", fc->ttstamp_.c_str())
<< CHAR_VALUE("__dyn", fc->__dyn())
- << INT_VALUE("__req", fc->__req())
+ << CHAR_VALUE("__req", fc->__req())
<< CHAR_VALUE("__rev", fc->__rev())
<< "__pc=PHASED:DEFAULT"
<< "__be=-1"
@@ -66,7 +66,7 @@ public:
<< CHAR_VALUE("__user", fc->self_.user_id.c_str())
<< CHAR_VALUE("ttstamp", fc->ttstamp_.c_str())
<< CHAR_VALUE("__dyn", fc->__dyn())
- << INT_VALUE("__req", fc->__req())
+ << CHAR_VALUE("__req", fc->__req())
<< CHAR_VALUE("__rev", fc->__rev())
<< CHAR_VALUE("alert_ids%5B0%5D", ptrA(mir_urlEncode(id)));
}