From 4fd3fb4aa22b82579116c4555ae2d16c2fff3524 Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Tue, 27 Jan 2026 15:58:36 -0500 Subject: [PATCH] fix: support Telegram quote replies (#2900) (thanks @aduk059) --- CHANGELOG.md | 1 + src/canvas-host/a2ui/.bundle.hash | 2 +- src/telegram/bot/delivery.ts | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1efce475..c83dc1476 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,7 @@ Status: unreleased. - Telegram: keep topic IDs in restart sentinel notifications. (#1807) Thanks @hsrvc. - Telegram: add optional silent send flag (disable notifications). (#2382) Thanks @Suksham-sharma. - Telegram: support editing sent messages via message(action="edit"). (#2394) Thanks @marcelomar21. +- Telegram: support quote replies for message tool and inbound context. (#2900) Thanks @aduk059. - Telegram: add sticker receive/send with vision caching. (#2629) Thanks @longjos. - Telegram: send sticker pixels to vision models. (#2650) - Config: apply config.env before ${VAR} substitution. (#1813) Thanks @spanishflu-est1918. diff --git a/src/canvas-host/a2ui/.bundle.hash b/src/canvas-host/a2ui/.bundle.hash index dd57697ae..98d7e8ccf 100644 --- a/src/canvas-host/a2ui/.bundle.hash +++ b/src/canvas-host/a2ui/.bundle.hash @@ -1 +1 @@ -bd5789522e6bde45274e15fdd45b10c9a41da378b190d6f42cef5ef2a69d72a7 +178acae008ecf5b85a4043c22b651c715278eb921b6b138f61234cd1d4853515 diff --git a/src/telegram/bot/delivery.ts b/src/telegram/bot/delivery.ts index e8cea63d8..4f45f9997 100644 --- a/src/telegram/bot/delivery.ts +++ b/src/telegram/bot/delivery.ts @@ -57,7 +57,6 @@ export async function deliverReplies(params: { replyQuoteText, } = params; const chunkMode = params.chunkMode ?? "length"; - const threadParams = buildTelegramThreadParams(messageThreadId); let hasReplied = false; const chunkText = (markdown: string) => { const markdownChunks =