From ad96c126edef545a2e7d270503d10e57a9420af7 Mon Sep 17 00:00:00 2001 From: Pejman Pour-Moezzi Date: Fri, 13 Feb 2026 22:02:49 -0800 Subject: [PATCH] fix(telegram): change default replyToMode from "first" to "off" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In 2026.2.13, the combination of implicit reply threading (#14976) and the existing Telegram default replyToMode="first" causes every bot response in DMs to be sent as a native Telegram reply (quoted message bubble), even for simple exchanges like "Hi" → "Hey". This is a UX regression: prior to 2026.2.13, reply threading was less consistent so the "first" default rarely produced visible quote bubbles in DMs. Now that implicit threading works reliably, the default effectively means every first message in a response gets quoted — which feels noisy and unexpected in 1:1 conversations. Changing the default to "off" restores the pre-2026.2.13 DM experience. Users who want reply threading can still opt in via config: channels.telegram.replyToMode: "first" | "all" Tested by toggling replyToMode on a live 2026.2.13 instance: - replyToMode="first" → every response quotes the user message - replyToMode="off" → clean responses without quote bubbles No test changes needed: existing tests explicitly set replyToMode rather than relying on the default. --- src/telegram/bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/telegram/bot.ts b/src/telegram/bot.ts index 4101ce66fb..3e4e7c75eb 100644 --- a/src/telegram/bot.ts +++ b/src/telegram/bot.ts @@ -244,7 +244,7 @@ export function createTelegramBot(opts: TelegramBotOptions) { ? telegramCfg.allowFrom : undefined) ?? (opts.allowFrom && opts.allowFrom.length > 0 ? opts.allowFrom : undefined); - const replyToMode = opts.replyToMode ?? telegramCfg.replyToMode ?? "first"; + const replyToMode = opts.replyToMode ?? telegramCfg.replyToMode ?? "off"; const nativeEnabled = resolveNativeCommandsEnabled({ providerId: "telegram", providerSetting: telegramCfg.commands?.native,