From 582732391ada3cc40934bde3a180273a081fdbf1 Mon Sep 17 00:00:00 2001 From: Denis Rybnikov Date: Mon, 9 Feb 2026 00:05:29 +0100 Subject: [PATCH] fix(telegram): avoid nested reply quote misclassification --- src/telegram/bot/helpers.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/telegram/bot/helpers.ts b/src/telegram/bot/helpers.ts index d9054b2d4a..b9f0706b63 100644 --- a/src/telegram/bot/helpers.ts +++ b/src/telegram/bot/helpers.ts @@ -229,7 +229,6 @@ export function describeReplyTarget(msg: Message): TelegramReplyTarget | null { const externalReply = (msg as Message & { external_reply?: Message }).external_reply; const quoteText = msg.quote?.text ?? - (reply as (Message & { quote?: { text?: string } }) | undefined)?.quote?.text ?? (externalReply as (Message & { quote?: { text?: string } }) | undefined)?.quote?.text; let body = ""; let kind: TelegramReplyTarget["kind"] = "reply";