summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-09-23 19:52:03 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-09-23 19:52:08 +0300
commitcaabdaa3d59f66d21a55c85324e397665bb41881 (patch)
tree7a6b37e030df591eb8b2fdbeffe8a20cdd358386 /protocols/SkypeWeb/src/requests
parentb1a24806c4d3944125f9b41acd9b155126a0f5ad (diff)
fixes #4693 (SkypeWeb: форматирование - вторая часть марлезонского балета)
Diffstat (limited to 'protocols/SkypeWeb/src/requests')
-rw-r--r--protocols/SkypeWeb/src/requests/chatrooms.h29
1 files changed, 0 insertions, 29 deletions
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 <http://www.gnu.org/licenses/>.
#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<char> &skypenames, CSkypeProto *ppro) :