mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 07:57:39 +00:00
fix: harden routing/session isolation for followups and heartbeat
This commit is contained in:
@@ -115,9 +115,10 @@ export function resolveSessionDeliveryTarget(params: {
|
||||
}
|
||||
}
|
||||
|
||||
const accountId = channel && channel === lastChannel ? lastAccountId : undefined;
|
||||
const threadId = channel && channel === lastChannel ? lastThreadId : undefined;
|
||||
const mode = params.mode ?? (explicitTo ? "explicit" : "implicit");
|
||||
const accountId = channel && channel === lastChannel ? lastAccountId : undefined;
|
||||
const threadId =
|
||||
mode !== "heartbeat" && channel && channel === lastChannel ? lastThreadId : undefined;
|
||||
|
||||
const resolvedThreadId = explicitThreadId ?? threadId;
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user