From 7c951b01ab40a9230a449bf44c5b86cb67f4dffe Mon Sep 17 00:00:00 2001 From: Josh Palmer Date: Thu, 5 Feb 2026 12:33:59 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Feishu:=20tighten=20mention=20ga?= =?UTF-8?q?ting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit What: - require the bot open_id match for group mention detection when available Why: - prevent replies when other users are mentioned and the bot id is known Tests: - pnpm test --- src/feishu/message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feishu/message.ts b/src/feishu/message.ts index 195fe6dd0d..931b4d3aed 100644 --- a/src/feishu/message.ts +++ b/src/feishu/message.ts @@ -250,7 +250,7 @@ export async function processFeishuMessage( const botOpenId = options.botOpenId?.trim(); const wasMentioned = botOpenId ? mentions.some((m) => m.id?.open_id === botOpenId || m.id?.user_id === botOpenId) - : mentions.length > 0; + : false; // In group chat, check requireMention setting if (isGroup) {