aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/calls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/calls.py b/discord/calls.py
index 564344fd..40df55ac 100644
--- a/discord/calls.py
+++ b/discord/calls.py
@@ -117,7 +117,8 @@ class GroupCall:
if data['channel_id'] is None:
self._voice_states.pop(user_id, None)
else:
- self._voice_states[user_id] = VoiceState(**data, voice_channel=self.channel)
+ data['voice_channel'] = self.channel
+ self._voice_states[user_id] = VoiceState(**data)
@property
def connected(self):