diff options
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); |