diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-14 13:33:53 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-14 13:33:53 +0000 |
commit | c0af4589fb0d1cb2a365a5ebe01c1a1ee4bfee7a (patch) | |
tree | 0f5ec14c913ae4053311d2d375e774619bcdcf8f /protocols/SkypeWeb/src/requests/messages.h | |
parent | ae14345bbfce23728baefb9db26ff8e73ea13ad7 (diff) |
SkypeWeb: Marking message as read.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12806 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/messages.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/messages.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/messages.h b/protocols/SkypeWeb/src/requests/messages.h index de6d044305..9a87361990 100644 --- a/protocols/SkypeWeb/src/requests/messages.h +++ b/protocols/SkypeWeb/src/requests/messages.h @@ -98,8 +98,8 @@ public: class MarkMessageReadRequest : public HttpRequest
{
public:
- MarkMessageReadRequest(const char *regToken, const char *username, LONGLONG msgId = 0, const char *server = SKYPE_ENDPOINTS_HOST) :
- HttpRequest(REQUEST_GET, FORMAT, "%s/v1/users/ME/conversations/8:%s/messages/%lld", server, ptrA(mir_urlEncode(username)), msgId)
+ MarkMessageReadRequest(const char *regToken, LONGLONG msgId = 0, const char *server = SKYPE_ENDPOINTS_HOST) :
+ HttpRequest(REQUEST_POST, FORMAT, "%s/v1/users/ME/conversations/ALL/messages/%lld/ack", server, msgId)
{
Headers
<< CHAR_VALUE("Accept", "application/json, text/javascript")
|