summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/http.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-12-25 12:40:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-12-25 12:40:26 +0300
commitaf60c518b300d7780b1891698537f70b8e8677c5 (patch)
treed3bf5ff7988186382989e738937c64a07c0260bf /protocols/Discord/src/http.cpp
parenta3363c772c0be0d4734709d1949cc03f57957e92 (diff)
Discord: update to protocol v.8 + warning fix
Diffstat (limited to 'protocols/Discord/src/http.cpp')
-rw-r--r--protocols/Discord/src/http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/http.cpp b/protocols/Discord/src/http.cpp
index ca4d7d0650..efc9f70339 100644
--- a/protocols/Discord/src/http.cpp
+++ b/protocols/Discord/src/http.cpp
@@ -41,7 +41,7 @@ static LONG g_reqNum = 0;
AsyncHttpRequest::AsyncHttpRequest(CDiscordProto *ppro, int iRequestType, LPCSTR _url, MTHttpRequestHandler pFunc, JSONNode *pRoot)
{
if (*_url == '/') { // relative url leads to a site
- m_szUrl = "https://discord.com/api/v6";
+ m_szUrl = "https://discord.com/api/v8";
m_szUrl += _url;
m_bMainSite = true;
}