diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-08 22:41:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-08 22:41:39 +0300 |
commit | 2fea2fa6d9c3d95822d55d93325bbb7f47f0e80d (patch) | |
tree | b3f668e3808f4e1181196ce240f076166b2c850c /protocols/FacebookRM/src/history.cpp | |
parent | 8b2d266f82516771cff401605aad14fecda85f97 (diff) |
more useless mir_urlEncode
Diffstat (limited to 'protocols/FacebookRM/src/history.cpp')
-rw-r--r-- | protocols/FacebookRM/src/history.cpp | 3 |
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); |