mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:50:43 +00:00
fix: mark task fallback events untrusted
This commit is contained in:
@@ -1075,6 +1075,7 @@ function queueTaskSystemEvent(task: TaskRecord, text: string) {
|
||||
sessionKey: ownerKey,
|
||||
contextKey: `task:${task.taskId}`,
|
||||
deliveryContext: owner.requesterOrigin,
|
||||
trusted: false,
|
||||
});
|
||||
requestHeartbeatNow({
|
||||
reason: "background-task",
|
||||
@@ -1097,6 +1098,7 @@ function queueBlockedTaskFollowup(task: TaskRecord) {
|
||||
sessionKey: ownerKey,
|
||||
contextKey: `task:${task.taskId}:blocked-followup`,
|
||||
deliveryContext: owner.requesterOrigin,
|
||||
trusted: false,
|
||||
});
|
||||
requestHeartbeatNow({
|
||||
reason: "background-task-blocked",
|
||||
|
||||
Reference in New Issue
Block a user