summaryrefslogtreecommitdiff
path: root/src/discord/discord.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-11-15 02:14:49 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2022-11-15 02:15:21 -0500
commit929ebf1a6008d861473e3ceffd11cd4eca90d620 (patch)
treeae6c1bf426e0cbe258b9dfc79435f3e4e1256642 /src/discord/discord.hpp
parent38c5230a1d194cb2fc4cf36fb6b417fdefb32788 (diff)
downloadabaddon-portaudio-929ebf1a6008d861473e3ceffd11cd4eca90d620.tar.gz
abaddon-portaudio-929ebf1a6008d861473e3ceffd11cd4eca90d620.zip
mess with some websocket stuff to try and fix things
to be honest, im not sure what ive done here. whatever memory i have of the issue i was trying to fix has long disappeared by the time im committing this. theres still some issues with being force disconnected and i really dont understand it ill figure it out eventually... maybe :/
Diffstat (limited to 'src/discord/discord.hpp')
-rw-r--r--src/discord/discord.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/discord/discord.hpp b/src/discord/discord.hpp
index fc714e6..2d8db91 100644
--- a/src/discord/discord.hpp
+++ b/src/discord/discord.hpp
@@ -289,7 +289,7 @@ private:
void SetSuperPropertiesFromIdentity(const IdentifyMessage &identity);
void HandleSocketOpen();
- void HandleSocketClose(uint16_t code);
+ void HandleSocketClose(const ix::WebSocketCloseInfo &info);
static bool CheckCode(const http::response_type &r);
static bool CheckCode(const http::response_type &r, int expected);