Snazzah
3 weeks ago
No known key found for this signature in database
GPG Key ID: EA479766A94CEB61
2 changed files with
2 additions and
2 deletions
-
discord/voice_state.py
|
|
@ -276,7 +276,7 @@ class VoiceConnectionState: |
|
|
|
if self.dave_protocol_version > 0: |
|
|
|
if not has_dave: |
|
|
|
raise RuntimeError('davey library needed in order to use E2EE voice') |
|
|
|
if self.dave_session: |
|
|
|
if self.dave_session is not None: |
|
|
|
self.dave_session.reinit(self.dave_protocol_version, self.user.id, self.voice_client.channel.id) |
|
|
|
else: |
|
|
|
self.dave_session = davey.DaveSession(self.dave_protocol_version, self.user.id, self.voice_client.channel.id) |
|
|
|