summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-02-24 22:26:30 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-02-24 22:26:30 +1100
commit16568aa906786d7a3b718cd3e31653df71d3d755 (patch)
tree30dd0d5ea31b6455155364a2292f90a7a05a5a1c
parentClient patcher now attempts assets multiple times, in case net sucks (diff)
downloadserver-feat/webrtc.tar.xz
Fix multiple users in vc disconnecting eachother feat/webrtc
-rw-r--r--src/gateway/opcodes/VoiceStateUpdate.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/VoiceStateUpdate.ts b/src/gateway/opcodes/VoiceStateUpdate.ts

index d300d7b7..5335752e 100644 --- a/src/gateway/opcodes/VoiceStateUpdate.ts +++ b/src/gateway/opcodes/VoiceStateUpdate.ts
@@ -135,7 +135,7 @@ export async function onVoiceStateUpdate(this: WebSocket, data: Payload) { guild_id: voiceState.guild_id, endpoint: guildRegion.endpoint, }, - guild_id: voiceState.guild_id, + user_id: this.user_id, } as VoiceServerUpdateEvent); } }