mirror of https://github.com/openclaw/openclaw.git
🤖 Feishu: tighten mention gating
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
This commit is contained in:
parent
4fc4c5256a
commit
7c951b01ab
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue