From 752ac5dd36853b7d93fc62a4c007e00ae3031a12 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 4 Dec 2020 13:17:26 +0300 Subject: Discord: protocol version update --- protocols/Discord/src/gateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Discord/src') diff --git a/protocols/Discord/src/gateway.cpp b/protocols/Discord/src/gateway.cpp index 042922bf31..01fefac5db 100644 --- a/protocols/Discord/src/gateway.cpp +++ b/protocols/Discord/src/gateway.cpp @@ -48,7 +48,7 @@ bool CDiscordProto::GatewayThreadWorker() { 0, 0 } }; - auto *pReply = WebSocket_Connect(m_hGatewayNetlibUser, m_szGateway + "/?encoding=json&v=6", hdrs); + auto *pReply = WebSocket_Connect(m_hGatewayNetlibUser, m_szGateway + "/?encoding=json&v=8", hdrs); if (pReply == nullptr) { debugLogA("Gateway connection failed, exiting"); return false; -- cgit v1.2.3