mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 15:30:39 +00:00
feishu: include message_id in agent message body (fix #27218)
This commit is contained in:
committed by
Peter Steinberger
parent
6632fd1ea9
commit
db6c513d1e
@@ -841,6 +841,9 @@ export async function handleFeishuMessage(params: {
|
||||
messageBody += `\n\n[System: Your reply will automatically @mention: ${targetNames}. Do not write @xxx yourself.]`;
|
||||
}
|
||||
|
||||
// Include message_id in body so the agent can use it (e.g. for Feishu API media download or reply).
|
||||
messageBody = `[message_id: ${ctx.messageId}] ${messageBody}`;
|
||||
|
||||
const envelopeFrom = isGroup ? `${ctx.chatId}:${ctx.senderOpenId}` : ctx.senderOpenId;
|
||||
|
||||
// If there's a permission error, dispatch a separate notification first
|
||||
|
||||
Reference in New Issue
Block a user