mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
voice: backport null key fix
This commit is contained in:
@@ -171,7 +171,7 @@ class StreamDispatcher extends VolumeInterface {
|
|||||||
|
|
||||||
processPacket(packet) {
|
processPacket(packet) {
|
||||||
try {
|
try {
|
||||||
if (this.destroyed) {
|
if (this.destroyed || !this.player.voiceConnection.authentication.secretKey) {
|
||||||
this.setSpeaking(false);
|
this.setSpeaking(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user