diff --git a/src/client/bridge/gateway/shard_runner.rs b/src/client/bridge/gateway/shard_runner.rs index 7361e841655..9814269cf2a 100644 --- a/src/client/bridge/gateway/shard_runner.rs +++ b/src/client/bridge/gateway/shard_runner.rs @@ -141,7 +141,7 @@ impl { + Some(ShardAction::Reconnect(ReconnectType::Reidentify)) => { let _ = self.request_restart(); continue; }, diff --git a/src/gateway/shard.rs b/src/gateway/shard.rs index 37a7aceb2b8..832ce7c54d3 100644 --- a/src/gateway/shard.rs +++ b/src/gateway/shard.rs @@ -547,7 +547,7 @@ impl Shard { })) }, Ok(GatewayEvent::Reconnect) => { - Ok(Some(ShardAction::Reconnect(ReconnectType::Reidentify))) + Ok(Some(ShardAction::Reconnect(ReconnectType::Resume))) }, Err(Error::Gateway(GatewayError::Closed(ref data))) => self.handle_gateway_closed(&data), Err(Error::Tungstenite(ref why)) => {