Fixed an oversight clearing session data upon any disconnect. (#2485)
This commit is contained in:
@@ -352,10 +352,6 @@ namespace Discord.WebSocket
|
||||
if (guild.IsAvailable)
|
||||
await GuildUnavailableAsync(guild).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
_sessionId = null;
|
||||
_lastSeq = 0;
|
||||
ApiClient.ResumeGatewayUrl = null;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user