fix: align extension plugin and docs with new replyToMode default

Update the Telegram extension channel plugin fallback and documentation
to reflect the new "off" default, as flagged by Greptile review.
This commit is contained in:
Pejman Pour-Moezzi
2026-02-13 22:11:55 -08:00
committed by Vignesh Natarajan
parent 258f7a1687
commit b5026aee69
2 changed files with 4 additions and 4 deletions

View File

@@ -178,7 +178,7 @@ export const telegramPlugin: ChannelPlugin<ResolvedTelegramAccount, TelegramProb
resolveToolPolicy: resolveTelegramGroupToolPolicy,
},
threading: {
resolveReplyToMode: ({ cfg }) => cfg.channels?.telegram?.replyToMode ?? "first",
resolveReplyToMode: ({ cfg }) => cfg.channels?.telegram?.replyToMode ?? "off",
},
messaging: {
normalizeTarget: normalizeTelegramMessagingTarget,