Fixed an oversight clearing session data upon any disconnect. (#2485)

This commit is contained in:
Quahu
2022-09-28 15:35:24 -07:00
committed by GitHub
parent a4d34f6947
commit c7ac59d892

View File

@@ -352,10 +352,6 @@ namespace Discord.WebSocket
if (guild.IsAvailable)
await GuildUnavailableAsync(guild).ConfigureAwait(false);
}
_sessionId = null;
_lastSeq = 0;
ApiClient.ResumeGatewayUrl = null;
}
/// <inheritdoc />