mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
reset last sequence on connect
This commit is contained in:
1 parent
3e9247ad08
commit
77fc962de4
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user