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