From 8b982f20d611b094f9966de73ed5534e9ab2e6f3 Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Thu, 3 Feb 2022 19:23:30 +0100 Subject: [PATCH] always listen after say --- lib/tasks/gather.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index a6d9d587..11b1debb 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -105,13 +105,7 @@ class TaskGather extends Task { if (err) return this.logger.error({err}, 'Gather:exec Error playing tts'); this.logger.debug('Gather: say task completed'); if (!this.killed) { - if (this.listenAfterSpeech) { startListening(cs, ep); - } else { - setTimeout(()=> { - // this.notifyTaskDone(); - }, 2000); - } } }); }