summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/history.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-08 22:26:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-08 22:26:42 +0300
commitc9c758098feed5ad2e9f5fe46c9ec9d8057c53ed (patch)
treed874f13f72b06a780d7453afe8ce34eabbec8e92 /protocols/FacebookRM/src/history.cpp
parent1e5ae8efefc6f50082c1c1734c763aab2fb1b7f5 (diff)
fix for wrong url encoded request's body
Diffstat (limited to 'protocols/FacebookRM/src/history.cpp')
-rw-r--r--protocols/FacebookRM/src/history.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}