summaryrefslogtreecommitdiff
path: root/protocols/Discord
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-07-25 20:57:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-07-25 20:57:50 +0300
commitd4ec4d674c4d48b5bfc30bbd730da213d573d0bb (patch)
treee326096e7ebe3bae1804ac5339ac48d2ca6c8944 /protocols/Discord
parent3c619678f41c9529b1e5ceaca7aecfcee30e1e2a (diff)
minor changes in WebSocket creation
Diffstat (limited to 'protocols/Discord')
-rw-r--r--protocols/Discord/src/gateway.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Discord/src/gateway.cpp b/protocols/Discord/src/gateway.cpp
index 79583cf17d..747915fd1d 100644
--- a/protocols/Discord/src/gateway.cpp
+++ b/protocols/Discord/src/gateway.cpp
@@ -44,6 +44,7 @@ bool CDiscordProto::GatewayThreadWorker()
{
NETLIBHTTPHEADER hdrs[] =
{
+ { "Origin", "https://discord.com" },
{ "Sec-WebSocket-Key", "xkGAFcWD1fSJp6o0tceQOg==" },
{ 0, 0 }
};