Fixing small error for the client

Signed-off-by: WolverinDEV <git@teaspeak.de>
canary
WolverinDEV 2019-12-21 17:09:42 +01:00
parent e4f9451b44
commit f49e7bd527
No known key found for this signature in database
GPG Key ID: 77A6C15085150EEB
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ class ConnectionHandler {
if(support_record && basic_voice_support)
vconnection.set_encoder_codec(targetChannel.properties.channel_codec);
if(!this.serverConnection.support_voice() || !vconnection.connected()) {
if(!this.serverConnection.support_voice() || !this.serverConnection.connected() || !vconnection.connected()) {
property_update["client_input_hardware"] = false;
property_update["client_output_hardware"] = false;
this.client_status.input_hardware = true; /* IDK if we have input hardware or not, but it dosn't matter at all so */