mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 15:48:28 +00:00
fix(auto-reply): prevent sender spoofing in group prompts
This commit is contained in:
@@ -236,6 +236,7 @@ export async function buildLineMessageContext(params: BuildLineMessageContextPar
|
||||
|
||||
const ctxPayload = finalizeInboundContext({
|
||||
Body: body,
|
||||
BodyForAgent: rawBody,
|
||||
RawBody: rawBody,
|
||||
CommandBody: rawBody,
|
||||
From: fromAddress,
|
||||
@@ -392,6 +393,7 @@ export async function buildLinePostbackContext(params: {
|
||||
|
||||
const ctxPayload = finalizeInboundContext({
|
||||
Body: body,
|
||||
BodyForAgent: rawBody,
|
||||
RawBody: rawBody,
|
||||
CommandBody: rawBody,
|
||||
From: fromAddress,
|
||||
|
||||
Reference in New Issue
Block a user