diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-10-04 15:31:03 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-10-04 15:31:03 -0400 |
commit | 77fc962de4fbf6c21b76c8e4a43390b879315b10 (patch) | |
tree | 949a0c8f16567fd707d61b6a4ab73e2decde6756 /discord | |
parent | 3e9247ad089f8fe0349ea15adaec4d7751a9d6e2 (diff) | |
download | abaddon-portaudio-77fc962de4fbf6c21b76c8e4a43390b879315b10.tar.gz abaddon-portaudio-77fc962de4fbf6c21b76c8e4a43390b879315b10.zip |
reset last sequence on connect
Diffstat (limited to 'discord')
-rw-r--r-- | discord/discord.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/discord.cpp b/discord/discord.cpp index 72dbf15..e4e115f 100644 --- a/discord/discord.cpp +++ b/discord/discord.cpp @@ -12,6 +12,7 @@ void DiscordClient::Start() { std::memset(&m_zstream, 0, sizeof(m_zstream)); inflateInit2(&m_zstream, MAX_WBITS + 32); + m_last_sequence = -1; m_heartbeat_acked = true; m_client_connected = true; m_websocket.StartConnection(DiscordGateway); |