From 08a36875c76b9c0dfff464f572647bb0ad7ba7aa Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sun, 1 Mar 2026 18:35:51 -0800 Subject: [PATCH] Revert "Telegram: apply required formatter update in accounts config merge" This reverts commit d372b26975ce1ab8245f6f7c2aa242f58dfc6a6d. --- src/telegram/accounts.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/telegram/accounts.ts b/src/telegram/accounts.ts index 17be565c8a8..5350baae8d7 100644 --- a/src/telegram/accounts.ts +++ b/src/telegram/accounts.ts @@ -84,11 +84,8 @@ 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