Fix typo in voice server update state handling

This commit is contained in:
dolfies 2025-02-08 21:05:21 -05:00 committed by GitHub
parent a8134dfa16
commit 42e4a87374
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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')