From c9c758098feed5ad2e9f5fe46c9ec9d8057c53ed Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 8 Jan 2018 22:26:42 +0300 Subject: fix for wrong url encoded request's body --- protocols/FacebookRM/src/history.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src/history.cpp') diff --git a/protocols/FacebookRM/src/history.cpp b/protocols/FacebookRM/src/history.cpp index d5193f3bdf..b34fbb534e 100644 --- a/protocols/FacebookRM/src/history.cpp +++ b/protocols/FacebookRM/src/history.cpp @@ -59,7 +59,7 @@ HttpRequest* facebook_client::threadInfoRequest(bool isChat, const char *id, con o0 << CHAR_PARAM("doc_id", "1549485615075443") << JSON_PARAM("query_params", query_params); root << JSON_PARAM("o0", o0); - p->Body << CHAR_PARAM("queries", utils::url::encode(root.write()).c_str()); + p->Body << CHAR_PARAM("queries", root.write().c_str()); return p; } -- cgit v1.2.3