mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 09:41:23 +00:00
fix: preserve off-mode semantics in auto reply threading (#14976) (thanks @Diaspar4u)
This commit is contained in:
@@ -376,9 +376,11 @@ export async function runAgentTurnWithFallback(params: {
|
||||
text,
|
||||
mediaUrls: payload.mediaUrls,
|
||||
mediaUrl: payload.mediaUrls?.[0],
|
||||
replyToId: payload.replyToId,
|
||||
replyToId:
|
||||
payload.replyToId ??
|
||||
(payload.replyToCurrent === false ? undefined : currentMessageId),
|
||||
replyToTag: payload.replyToTag,
|
||||
replyToCurrent: true,
|
||||
replyToCurrent: payload.replyToCurrent,
|
||||
},
|
||||
currentMessageId,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user