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 <noreply@anthropic.com>
This commit is contained in:
parent
33da852ff1
commit
cc4afb2686
@ -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,
|
||||
}));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user