From d372b26975ce1ab8245f6f7c2aa242f58dfc6a6d Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sun, 1 Mar 2026 18:22:54 -0800 Subject: [PATCH] Telegram: apply required formatter update in accounts config merge --- src/telegram/accounts.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/telegram/accounts.ts b/src/telegram/accounts.ts index 5350baae8d7..17be565c8a8 100644 --- a/src/telegram/accounts.ts +++ b/src/telegram/accounts.ts @@ -84,8 +84,11 @@ function resolveAccountConfig( } function mergeTelegramAccountConfig(cfg: OpenClawConfig, accountId: string): TelegramAccountConfig { - const { accounts: _ignored, groups: channelGroups, ...base } = (cfg.channels?.telegram ?? - {}) as TelegramAccountConfig & { accounts?: unknown }; + const { + accounts: _ignored, + groups: channelGroups, + ...base + } = (cfg.channels?.telegram ?? {}) as TelegramAccountConfig & { accounts?: unknown }; const account = resolveAccountConfig(cfg, accountId) ?? {}; // In multi-account setups, channel-level `groups` must NOT be inherited by