From 294d38dcd1862abbc6f8bed297bf7a895609b56d Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Thu, 3 Feb 2022 18:08:04 +0100 Subject: [PATCH] skip until botinput by default --- lib/tasks/cognigy/speech-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/cognigy/speech-config.js b/lib/tasks/cognigy/speech-config.js index 7041080a..5cc7ab3f 100644 --- a/lib/tasks/cognigy/speech-config.js +++ b/lib/tasks/cognigy/speech-config.js @@ -32,7 +32,7 @@ class SpeechConfig extends Emitter { * check if we should skip all nodes until next bot input */ get skipUntilBotInput() { - return this.sessionConfig.bargein?.skipUntilBotInput === false; + return !this.sessionConfig.bargein?.skipUntilBotInput; } /** * Check if barge is enabled on session level