From d4ec4d674c4d48b5bfc30bbd730da213d573d0bb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 25 Jul 2020 20:57:50 +0300 Subject: minor changes in WebSocket creation --- protocols/Discord/src/gateway.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols') 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 } }; -- cgit v1.2.3