mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 12:20:35 +00:00
fix: harden routing/session isolation for followups and heartbeat
This commit is contained in:
@@ -663,6 +663,10 @@ export async function runHeartbeatOnce(opts: {
|
||||
Body: appendCronStyleCurrentTimeLine(prompt, cfg, startedAt),
|
||||
From: sender,
|
||||
To: sender,
|
||||
OriginatingChannel: delivery.channel !== "none" ? delivery.channel : undefined,
|
||||
OriginatingTo: delivery.to,
|
||||
AccountId: delivery.accountId,
|
||||
MessageThreadId: delivery.threadId,
|
||||
Provider: hasExecCompletion ? "exec-event" : hasCronEvents ? "cron-event" : "heartbeat",
|
||||
SessionKey: sessionKey,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user