summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-12-22 15:56:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-12-22 15:56:53 +0300
commit1f46c15ee7098125e34f5bc53a13c284211ef645 (patch)
tree9bec46dfb88803f7506a5ad86622b3b748f24708 /protocols/SkypeWeb/src/skype_utils.cpp
parentf452e4b739789fa3bfad9402faad985aedbce5f5 (diff)
SkypeWeb: more or less working group chats
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index 305bf1c102..291ca892e7 100644
--- a/protocols/SkypeWeb/src/skype_utils.cpp
+++ b/protocols/SkypeWeb/src/skype_utils.cpp
@@ -658,30 +658,6 @@ INT_PTR CSkypeProto::GlobalParseSkypeUriService(WPARAM wParam, LPARAM lParam)
/////////////////////////////////////////////////////////////////////////////////////////
-AsyncHttpRequest::AsyncHttpRequest(int type, SkypeHost host, LPCSTR url, MTHttpRequestHandler pFunc) :
- m_host(host)
-{
- switch (host) {
- case HOST_API: m_szUrl = "https://api.skype.com"; break;
- case HOST_CONTACTS: m_szUrl = "https://contacts.skype.com"; break;
- case HOST_GRAPH: m_szUrl = "https://skypegraph.skype.com"; break;
- case HOST_LOGIN: m_szUrl = "https://login.skype.com"; break;
- case HOST_DEFAULT:
- m_szUrl.Format("https://%s/v1", g_plugin.szDefaultServer.c_str());
- break;
- }
-
- AddHeader("User-Agent", NETLIB_USER_AGENT);
-
- if (url)
- m_szUrl.Append(url);
- m_pFunc = pFunc;
- flags = NLHRF_HTTP11 | NLHRF_SSL | NLHRF_DUMPASTEXT;
- requestType = type;
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
JsonReply::JsonReply(NETLIBHTTPREQUEST *pReply)
{
if (pReply == nullptr) {