Skip to content

Commit 87d227b

Browse files
committed
fix(feishu): promote send attachment aliases instead of silent drop
A direct Gateway message.action send may arrive with attachment aliases (path/filePath/fileUrl/image/mediaUrl/mediaUrls/attachments[]) instead of the canonical media field. The Feishu send handler only read params.media, so any alias was silently dropped and the send returned ok:true on the text-only branch, misleading the agent about delivery (#112244). Add resolveFeishuSendAttachmentMedia (mirrors the Mattermost send-attachment resolver) to collect every alias into one canonical mediaUrl, reject unsupported buffer/base64 payloads, and reject multiple attachments (Feishu delivers one media item per message). thread-reply keeps its text-only path. Related to #112244
1 parent 03658a9 commit 87d227b

6 files changed

Lines changed: 1391 additions & 12 deletions

File tree

0 commit comments

Comments
 (0)