summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-08 22:35:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-08 22:35:42 +0300
commit8b2d266f82516771cff401605aad14fecda85f97 (patch)
tree6da035805d90730a4cac33390ac694587efa5975 /protocols
parentc9c758098feed5ad2e9f5fe46c9ec9d8057c53ed (diff)
forgotten, but useless urlEncode
Diffstat (limited to 'protocols')
-rw-r--r--protocols/FacebookRM/src/messages.cpp4
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)