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/messages.cpp | |
parent | 8b2d266f82516771cff401605aad14fecda85f97 (diff) |
more useless mir_urlEncode
Diffstat (limited to 'protocols/FacebookRM/src/messages.cpp')
-rw-r--r-- | protocols/FacebookRM/src/messages.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/FacebookRM/src/messages.cpp b/protocols/FacebookRM/src/messages.cpp index 5147feefc0..9970d9be2c 100644 --- a/protocols/FacebookRM/src/messages.cpp +++ b/protocols/FacebookRM/src/messages.cpp @@ -296,12 +296,10 @@ HttpRequest* facebook_client::sendTypingRequest(const char *userId, bool isChat, p->Url << INT_PARAM("dpr", 1); - ptrA idEncoded(mir_urlEncode(userId)); - p->Body << INT_PARAM("typ", isTyping ? 1 : 0) - << CHAR_PARAM("to", isChat ? "" : idEncoded) - << CHAR_PARAM("thread", idEncoded) + << CHAR_PARAM("to", isChat ? "" : userId) + << CHAR_PARAM("thread", userId) << CHAR_PARAM("source", "mercury-chat") << CHAR_PARAM("__user", self_.user_id.c_str()) << CHAR_PARAM("__dyn", __dyn()) |