diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-08 22:35:42 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-08 22:35:42 +0300 |
commit | 8b2d266f82516771cff401605aad14fecda85f97 (patch) | |
tree | 6da035805d90730a4cac33390ac694587efa5975 | |
parent | c9c758098feed5ad2e9f5fe46c9ec9d8057c53ed (diff) |
forgotten, but useless urlEncode
-rw-r--r-- | protocols/FacebookRM/src/messages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/messages.cpp b/protocols/FacebookRM/src/messages.cpp index 794225de2a..5147feefc0 100644 --- a/protocols/FacebookRM/src/messages.cpp +++ b/protocols/FacebookRM/src/messages.cpp @@ -248,10 +248,10 @@ HttpRequest* facebook_client::sendMessageRequest( // TODO: For sending GIF images instead of "sticker_id=" there is "image_ids[0]=", otherwise it's same p->Body << "body=" - << CHAR_PARAM("sticker_id", ptrA(mir_urlEncode(message_text.substr(10, message_text.length() - 10 - 2).c_str()))) + << CHAR_PARAM("sticker_id", message_text.substr(10, message_text.length() - 10 - 2).c_str()) << BOOL_PARAM("has_attachment", true); else - p->Body << CHAR_PARAM("body", ptrA(mir_urlEncode(messageText))) << BOOL_PARAM("has_attachment", false); + p->Body << CHAR_PARAM("body", messageText) << BOOL_PARAM("has_attachment", false); p->Body << INT_PARAM("ephemeral_ttl_mode", 0) |