From cc4afb26869e81429f9fc43ebcddb58cefb2f3b4 Mon Sep 17 00:00:00 2001 From: Strider Date: Fri, 20 Mar 2026 21:02:49 +0800 Subject: [PATCH] fix: also honor requireMentionInThread for replyInThread-enabled groups Groups with replyInThread: "enabled" create ad-hoc threads even with default groupSessionScope: "group". Include these in the isThreadReply check so requireMentionInThread works for them too. Co-Authored-By: Claude Opus 4.6 --- extensions/feishu/src/bot.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/feishu/src/bot.ts b/extensions/feishu/src/bot.ts index 5eb85cba742..0cfda65ea47 100644 --- a/extensions/feishu/src/bot.ts +++ b/extensions/feishu/src/bot.ts @@ -417,7 +417,8 @@ export async function handleFeishuMessage(params: { isThreadReply: groupSession?.threadReply && (groupSession?.groupSessionScope === "group_topic" || - groupSession?.groupSessionScope === "group_topic_sender"), + groupSession?.groupSessionScope === "group_topic_sender" || + groupSession?.replyInThread), globalConfig: feishuCfg, groupConfig, }));