try somehting out

This commit is contained in:
akirilyuk
2022-02-03 18:26:48 +01:00
parent 6fc9a3567e
commit 1685262658

View File

@@ -105,11 +105,11 @@ class TaskGather extends Task {
if (err) return this.logger.error({err}, 'Gather:exec Error playing tts'); if (err) return this.logger.error({err}, 'Gather:exec Error playing tts');
this.logger.debug('Gather: say task completed'); this.logger.debug('Gather: say task completed');
if (!this.killed) { if (!this.killed) {
if (this.listenAfterSpeech) { //if (this.listenAfterSpeech) {
startListening(cs, ep); startListening(cs, ep);
} else { // } else {
this.kill(cs); // this.kill(cs);
} //}
} }
}); });
} }