YUJIE2002
3b2ed8fe6f
fix(telegram): prevent channel-level groups from leaking to all accounts in multi-account setups
...
In multi-account Telegram configurations, `mergeTelegramAccountConfig()`
performs a shallow merge of channel-level config onto each account. This
causes channel-level `groups` to be inherited by ALL accounts, including
those whose bots are not members of the configured groups.
When a secondary bot attempts to handle group messages for a group it is
not in, the failure disrupts message delivery for all accounts — causing
silent message loss with no errors in logs.
Fix: exclude `groups` from the base spread (like `accounts` already is)
and only apply channel-level groups as fallback in single-account setups
for backward compatibility. Multi-account setups must use account-level
groups config.
Added 5 test cases covering single-account inheritance, multi-account
isolation, account-level priority, and backward compatibility.
Fixes #30673
2026-03-02 02:08:11 +00:00
..
2026-03-02 02:07:57 +00:00
2026-03-02 02:08:11 +00:00
2026-03-02 02:08:11 +00:00
2026-02-17 14:44:18 +05:30
2026-02-18 01:34:35 +00:00
2026-02-22 07:44:57 +00:00
2026-02-15 19:29:27 +00:00
2026-02-26 12:58:18 +01:00
2026-02-27 15:16:21 +05:30
2026-02-22 07:44:57 +00:00
2026-02-16 14:59:31 +00:00
2026-02-22 11:29:59 +05:30
2026-02-22 07:44:57 +00:00
2026-02-26 13:06:33 +01:00
2026-03-02 02:04:39 +00:00
2026-02-27 15:16:21 +05:30
2026-03-02 01:50:25 +00:00
2026-03-02 01:50:25 +00:00
2026-02-22 07:35:54 +00:00
2026-02-27 15:16:21 +05:30
2026-02-26 13:40:58 +00:00
2026-02-26 13:40:58 +00:00
2026-02-22 07:35:54 +00:00
2026-02-22 19:21:26 +01:00
2026-02-22 07:48:43 +00:00
2026-02-22 07:48:43 +00:00
2026-02-27 15:16:21 +05:30
2026-02-19 09:54:47 +05:30
2026-02-27 15:16:21 +05:30
2026-02-26 09:21:54 +05:30
2026-02-21 19:53:42 +01:00
2026-02-25 02:01:52 +00:00
2026-02-25 02:01:52 +00:00
2026-02-25 02:01:52 +00:00
2026-02-25 02:32:35 +00:00
2026-02-27 15:16:21 +05:30
2026-02-26 11:45:57 +00:00
2026-02-22 00:10:07 +01:00
2026-01-17 03:50:09 +00:00
2026-02-24 23:49:10 +00:00
2026-02-17 14:30:36 +09:00
2026-02-24 01:09:31 +00:00
2026-02-22 07:46:17 +00:00
2026-02-22 08:03:29 +00:00
2026-03-01 13:21:01 -08:00
2026-03-01 13:21:01 -08:00
2026-02-25 04:54:51 +00:00
2026-02-28 08:13:59 +05:30
2026-02-28 08:13:59 +05:30
2026-02-25 11:54:27 +05:30
2026-02-22 12:21:04 +01:00
2026-03-02 02:08:09 +00:00
2026-03-02 02:08:09 +00:00
2026-02-22 07:44:57 +00:00
2026-02-22 14:08:51 +00:00
2026-02-16 14:00:34 +05:30
2026-02-01 10:03:47 +09:00
2026-02-16 14:00:34 +05:30
2026-02-26 17:36:16 +01:00
2026-02-21 17:51:56 -05:00
2026-02-22 00:10:07 +01:00
2026-02-26 04:36:25 +01:00
2026-02-26 04:36:25 +01:00
2026-02-22 20:07:51 +05:30
2026-02-22 20:07:51 +05:30
2026-02-22 16:16:11 +05:30
2026-02-22 16:16:11 +05:30
2026-02-15 01:15:43 +00:00
2026-02-22 07:35:54 +00:00
2026-02-15 11:36:54 -06:00
2026-03-01 13:21:01 -08:00
2026-03-01 13:21:01 -08:00
2026-02-22 07:44:57 +00:00
2026-02-14 15:39:45 +00:00
2026-02-22 07:44:57 +00:00
2026-02-22 07:44:57 +00:00
2026-02-22 07:35:54 +00:00
2026-02-23 11:45:18 +05:30
2026-02-26 00:38:34 +00:00
2026-02-26 00:30:44 +00:00
2026-02-26 11:45:57 +00:00
2026-02-26 11:45:57 +00:00
2026-02-21 12:34:59 +05:30
2026-02-21 09:20:20 +05:30
2026-02-21 09:20:20 +05:30
2026-02-14 12:13:27 +00:00
2026-02-18 01:34:35 +00:00
2026-02-23 11:45:18 +05:30
2026-02-23 11:45:18 +05:30
2026-02-23 11:45:18 +05:30
2026-02-23 11:45:18 +05:30
2026-02-21 13:02:12 +00:00
2026-02-15 11:36:54 -06:00
2026-02-23 09:43:47 -05:00
2026-02-23 09:43:47 -05:00
2026-02-14 03:03:02 +01:00
2026-02-14 03:17:40 +01:00
2026-02-26 20:01:50 +05:30
2026-03-02 00:07:29 +00:00