diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-28 15:51:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-28 15:51:04 +0300 |
commit | ac6607c5f76566c2c840ca3955a22448738df9b3 (patch) | |
tree | b697dbe07b88ac8fefb5f00a003c95710b3bbbeb /protocols/SkypeWeb/src/requests/messages.h | |
parent | e787987f54733bd58f69ced43a506aa7fc42fb7c (diff) |
mir_urlDecode & mir_urlEncode to return CMStringA
Diffstat (limited to 'protocols/SkypeWeb/src/requests/messages.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/messages.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/requests/messages.h b/protocols/SkypeWeb/src/requests/messages.h index 6e020d0a4c..d2cf5d69dc 100644 --- a/protocols/SkypeWeb/src/requests/messages.h +++ b/protocols/SkypeWeb/src/requests/messages.h @@ -70,7 +70,7 @@ class SendTypingRequest : public HttpRequest {
public:
SendTypingRequest(const char *username, int iState, LoginInfo &li) :
- HttpRequest(REQUEST_POST, FORMAT, "%s/v1/users/ME/conversations/8:%s/messages", li.endpoint.szServer, ptrA(mir_urlEncode(username)))
+ HttpRequest(REQUEST_POST, FORMAT, "%s/v1/users/ME/conversations/8:%s/messages", li.endpoint.szServer, mir_urlEncode(username).c_str())
{
Headers
<< CHAR_VALUE("Accept", "application/json, text/javascript")
|