mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 16:14:58 +00:00
fix: harden iMessage echo dedupe and reasoning suppression (#25897)
This commit is contained in:
@@ -298,7 +298,12 @@ export function extractMessagingToolSend(
|
||||
if (action !== "send" && action !== "thread-reply") {
|
||||
return undefined;
|
||||
}
|
||||
const toRaw = typeof args.to === "string" ? args.to : undefined;
|
||||
const toRaw =
|
||||
typeof args.to === "string"
|
||||
? args.to
|
||||
: typeof args.target === "string"
|
||||
? args.target
|
||||
: undefined;
|
||||
if (!toRaw) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user