From caabdaa3d59f66d21a55c85324e397665bb41881 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 23 Sep 2024 19:52:03 +0300 Subject: =?UTF-8?q?fixes=20=20#4693=20(SkypeWeb:=20=D1=84=D0=BE=D1=80?= =?UTF-8?q?=D0=BC=D0=B0=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20-=20=D0=B2=D1=82=D0=BE=D1=80=D0=B0=D1=8F=20=D1=87?= =?UTF-8?q?=D0=B0=D1=81=D1=82=D1=8C=20=D0=BC=D0=B0=D1=80=D0=BB=D0=B5=D0=B7?= =?UTF-8?q?=D0=BE=D0=BD=D1=81=D0=BA=D0=BE=D0=B3=D0=BE=20=D0=B1=D0=B0=D0=BB?= =?UTF-8?q?=D0=B5=D1=82=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/SkypeWeb/src/requests/chatrooms.h | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'protocols/SkypeWeb/src/requests') diff --git a/protocols/SkypeWeb/src/requests/chatrooms.h b/protocols/SkypeWeb/src/requests/chatrooms.h index 81151fd97a..4bad87bc8a 100644 --- a/protocols/SkypeWeb/src/requests/chatrooms.h +++ b/protocols/SkypeWeb/src/requests/chatrooms.h @@ -18,35 +18,6 @@ along with this program. If not, see . #ifndef _SKYPE_REQUEST_CHATS_H_ #define _SKYPE_REQUEST_CHATS_H_ -struct SendChatMessageRequest : public AsyncHttpRequest -{ - SendChatMessageRequest(const char *to, time_t timestamp, const char *message) : - AsyncHttpRequest(REQUEST_POST, HOST_DEFAULT) - { - m_szUrl.AppendFormat("/users/ME/conversations/%s/messages", to); - - JSONNode node; - node << CHAR_PARAM("clientmessageid", CMStringA(::FORMAT, "%llu000", (ULONGLONG)timestamp)) - << CHAR_PARAM("messagetype", "RichText") << CHAR_PARAM("contenttype", "text") << CHAR_PARAM("content", message); - m_szParam = node.write().c_str(); - } -}; - -struct SendChatActionRequest : public AsyncHttpRequest -{ - SendChatActionRequest(const char *to, time_t timestamp, const char *message) : - AsyncHttpRequest(REQUEST_POST, HOST_DEFAULT) - { - m_szUrl.AppendFormat("/users/ME/conversations/%s/messages", to); - - JSONNode node(JSON_NODE); - node << CHAR_PARAM("clientmessageid", CMStringA(::FORMAT, "%llu000", (ULONGLONG)timestamp)) - << CHAR_PARAM("messagetype", "RichText") << CHAR_PARAM("contenttype", "text") - << CHAR_PARAM("content", message) << INT_PARAM("skypeemoteoffset", 4); - m_szParam = node.write().c_str(); - } -}; - struct CreateChatroomRequest : public AsyncHttpRequest { CreateChatroomRequest(const LIST &skypenames, CSkypeProto *ppro) : -- cgit v1.2.3