voice: backport null key fix

This commit is contained in:
Amish Shah 2018-04-29 18:53:50 +01:00
parent 33a4232652
commit 5f50d9e627
No known key found for this signature in database
GPG key ID: 904349C1207D7967

View file

@ -171,7 +171,7 @@ class StreamDispatcher extends VolumeInterface {
processPacket(packet) {
try {
if (this.destroyed) {
if (this.destroyed || !this.player.voiceConnection.authentication.secretKey) {
this.setSpeaking(false);
return;
}