From f0075f2b956969f29acd3bc9289c8a5f78faddad Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Dec 2017 21:15:52 +0300 Subject: code cleaning --- protocols/FacebookRM/src/requests/history.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/FacebookRM/src/requests/history.h') diff --git a/protocols/FacebookRM/src/requests/history.h b/protocols/FacebookRM/src/requests/history.h index b7cf3f42c1..ad3e4c19e1 100644 --- a/protocols/FacebookRM/src/requests/history.h +++ b/protocols/FacebookRM/src/requests/history.h @@ -29,7 +29,7 @@ class ThreadInfoRequest : public HttpRequest { public: // Request only messages history - ThreadInfoRequest(facebook_client *fc, bool isChat, const char *id, int offset, const char *timestamp, int limit) : + ThreadInfoRequest(facebook_client *fc, bool isChat, const char *id, int /*offset*/, const char* /*timestamp*/, int limit) : HttpRequest(REQUEST_POST, FACEBOOK_SERVER_REGULAR "/api/graphqlbatch/") { setCommonBody(fc); @@ -62,7 +62,7 @@ public: else query_params << NULL_PARAM("before"); - o0 << CHAR_PARAM("doc_id", id) << JSON_PARAM("query_params", query_params); + o0 << CHAR_PARAM("doc_id", id) << JSON_PARAM("query_params", query_params); root << JSON_PARAM("o0", o0); @@ -72,7 +72,7 @@ public: // example request data we need to send: { "o0":{"doc_id":"456789456123","query_params" : {"id":"123456789","message_limit" : 20,"load_messages" : 1,"load_read_receipts" : false,"before" : null}} } - + /* //if (loadMessages) { // Grrr, offset doesn't work at all, we need to use timestamps to get back in history... -- cgit v1.2.3