fix: skip enqueueMessageCheck when task is already completed (ESCALATE/done)

This commit is contained in:
Eyejoker
2026-03-31 04:59:27 +09:00
parent 636c54702a
commit 196c453ccf
2 changed files with 11 additions and 3 deletions

View File

@@ -246,7 +246,12 @@ export function preparePairedExecutionContext(args: {
return undefined;
}
const task = ensureActiveTask(group, chatJid, roomRoleContext, args.hasHumanMessage);
const task = ensureActiveTask(
group,
chatJid,
roomRoleContext,
args.hasHumanMessage,
);
if (!task) {
return undefined;
}