summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-05 11:10:02 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-05 11:10:02 +0000
commit340d879890f5099c21e36fc147d6432a1ac050bf (patch)
tree5fca5e280b39370dba5252d9d4bfb219bd180420 /protocols/SkypeWeb/src/requests
parentbe6edec91cce66e2b77d22bd0e92a5d60ff92d75 (diff)
SteamWeb:
- fixed logout (patck from MikalaiR) - fixed action (/me) sending - added message duplication filter git-svn-id: http://svn.miranda-ng.org/main/trunk@12604 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests')
-rw-r--r--protocols/SkypeWeb/src/requests/logout.h1
-rw-r--r--protocols/SkypeWeb/src/requests/messages.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/logout.h b/protocols/SkypeWeb/src/requests/logout.h
index 989a36776e..f8b07ce713 100644
--- a/protocols/SkypeWeb/src/requests/logout.h
+++ b/protocols/SkypeWeb/src/requests/logout.h
@@ -6,6 +6,7 @@ class LogoutRequest : public HttpRequest
public:
LogoutRequest() : HttpRequest(REQUEST_GET, "login.skype.com/logout")
{
+ flags |= NLHRF_REDIRECT;
Url
<< INT_VALUE("client_id", 578134)
<< CHAR_VALUE("redirect_uri", "https%3A%2F%2Fweb.skype.com&intsrc=client-_-webapp-_-production-_-go-signin");
diff --git a/protocols/SkypeWeb/src/requests/messages.h b/protocols/SkypeWeb/src/requests/messages.h
index 8dde3f9b5a..130dd0c938 100644
--- a/protocols/SkypeWeb/src/requests/messages.h
+++ b/protocols/SkypeWeb/src/requests/messages.h
@@ -1,10 +1,10 @@
#ifndef _SKYPE_REQUEST_MESSAGES_H_
#define _SKYPE_REQUEST_MESSAGES_H_
-class SendMsgRequest : public HttpRequest
+class SendMessageRequest : public HttpRequest
{
public:
- SendMsgRequest(const char *regToken, const char *username, time_t timestamp, const char *message, const char *server = "client-s.gateway.messenger.live.com") :
+ SendMessageRequest(const char *regToken, const char *username, time_t timestamp, const char *message, const char *server = "client-s.gateway.messenger.live.com") :
HttpRequest(REQUEST_POST, FORMAT, "%s/v1/users/ME/conversations/8:%s/messages", server, username)
{
Headers