From 42e4a8737446ed171bd9478b5b7bcab44db451ce Mon Sep 17 00:00:00 2001 From: dolfies Date: Sat, 8 Feb 2025 21:05:21 -0500 Subject: [PATCH] Fix typo in voice server update state handling --- discord/voice_state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/voice_state.py b/discord/voice_state.py index f10a307d6..956f639b8 100644 --- a/discord/voice_state.py +++ b/discord/voice_state.py @@ -344,7 +344,7 @@ class VoiceConnectionState: elif self.state is not ConnectionFlowState.disconnected: # eventual consistency - if previous_token == self.token and previous_server_id == self.server_id and previous_token == self.token: + if previous_token == self.token and previous_server_id == self.server_id and previous_endpoint == self.endpoint: return _log.debug('Unexpected server update event, attempting to handle')