diff options
author | George Hazan <ghazan@miranda.im> | 2020-07-25 20:57:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-07-25 20:57:50 +0300 |
commit | d4ec4d674c4d48b5bfc30bbd730da213d573d0bb (patch) | |
tree | e326096e7ebe3bae1804ac5339ac48d2ca6c8944 /protocols/Discord | |
parent | 3c619678f41c9529b1e5ceaca7aecfcee30e1e2a (diff) |
minor changes in WebSocket creation
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/gateway.cpp | 1 |
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 } }; |