fix(feishu): restore group command fallback and plugin deps

This commit is contained in:
Peter Steinberger
2026-02-22 19:13:04 +01:00
parent 8801130c5d
commit 95e85e627e
6 changed files with 134 additions and 46 deletions

View File

@@ -693,7 +693,9 @@ export async function handleFeishuMessage(params: {
return;
}
const commandAllowFrom = isGroup ? (groupConfig?.allowFrom ?? []) : effectiveDmAllowFrom;
const commandAllowFrom = isGroup
? (groupConfig?.allowFrom ?? configAllowFrom)
: effectiveDmAllowFrom;
const senderAllowedForCommands = resolveFeishuAllowlistMatch({
allowFrom: commandAllowFrom,
senderId: ctx.senderOpenId,