summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/history.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-08 22:41:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-08 22:41:39 +0300
commit2fea2fa6d9c3d95822d55d93325bbb7f47f0e80d (patch)
treeb3f668e3808f4e1181196ce240f076166b2c850c /protocols/FacebookRM/src/history.cpp
parent8b2d266f82516771cff401605aad14fecda85f97 (diff)
more useless mir_urlEncode
Diffstat (limited to 'protocols/FacebookRM/src/history.cpp')
-rw-r--r--protocols/FacebookRM/src/history.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/history.cpp b/protocols/FacebookRM/src/history.cpp
index b34fbb534e..454e3e8593 100644
--- a/protocols/FacebookRM/src/history.cpp
+++ b/protocols/FacebookRM/src/history.cpp
@@ -42,11 +42,10 @@ HttpRequest* facebook_client::threadInfoRequest(bool isChat, const char *id, con
if (id_.substr(0, 3) == "id.")
id_ = id_.substr(3);
}
- ptrA idEncoded(mir_urlEncode(id_.c_str()));
JSONNode root, o0, query_params;
query_params
- << CHAR_PARAM("id", idEncoded)
+ << CHAR_PARAM("id", id_.c_str())
<< INT_PARAM("message_limit", (limit == -1) ? 50 : limit)
<< INT_PARAM("load_messages", 0)
<< BOOL_PARAM("load_read_receipts", false);