Gather: if an empty array of hints are supplied, this signals we should mask global hints for this collection

This commit is contained in:
Dave Horton
2023-03-21 12:16:12 -04:00
parent 1dcf9ee5a2
commit dd4d9aa261
2 changed files with 7 additions and 2 deletions

View File

@@ -698,7 +698,7 @@ class CallSession extends Emitter {
let skip = false;
this.currentTask = task;
if (TaskName.Gather === task.name && this.isBotModeEnabled) {
if (this.backgroundGatherTask.updateTaskInProgress(task)) {
if (this.backgroundGatherTask.updateTaskInProgress(task) !== false) {
this.logger.info(`CallSession:exec skipping #${stackNum}:${taskNum}: ${task.name}`);
skip = true;
}