Telegram: coerce route allowlist warning flag

This commit is contained in:
Vincent Koc
2026-03-07 16:07:20 -08:00
parent 9d3469c914
commit d15a3d3454

View File

@@ -208,7 +208,7 @@ export const telegramPlugin: ChannelPlugin<ResolvedTelegramAccount, TelegramProb
collect: (groupPolicy) =>
collectOpenGroupPolicyRouteAllowlistWarnings({
groupPolicy,
routeAllowlistConfigured: groupAllowlistConfigured,
routeAllowlistConfigured: Boolean(groupAllowlistConfigured),
restrictSenders: {
surface: "Telegram groups",
openScope: "any member in allowed groups",