From 0a6b0fe73a30a959aec4d2405315b75a5bb1e74a Mon Sep 17 00:00:00 2001 From: sliverp Date: Thu, 5 Feb 2026 20:55:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/channel.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/channel.ts b/src/channel.ts index f824c1d..13e3753 100644 --- a/src/channel.ts +++ b/src/channel.ts @@ -124,6 +124,7 @@ export const qqbotPlugin: ChannelPlugin = { resolveAllowFrom: ({ cfg, accountId }: { cfg: OpenClawConfig; accountId?: string }) => { const account = resolveQQBotAccount(cfg, accountId); const allowFrom = account.config?.allowFrom ?? []; + console.log(`[qqbot] resolveAllowFrom: accountId=${accountId}, allowFrom=${JSON.stringify(allowFrom)}`); return allowFrom.map((entry: string | number) => String(entry)); }, // 格式化 allowFrom 条目(移除 qqbot: 前缀,统一大写)