Cherry-pick aae90cb03: fix(telegram): include replied media in reply context#1404
Merged
alexey-pelykh merged 1 commit intomainfrom Mar 15, 2026
Merged
Conversation
…#28488) * fix(telegram): include replied media files in reply context * fix(telegram): keep reply media fields nullable * perf(telegram): defer reply-media fetch to debounce flush * fix(telegram): gate and preserve reply media attachments * fix(telegram): preserve cached-sticker reply media context * fix: update changelog for telegram reply-media context fixes (openclaw#28488) (thanks @obviyus) (cherry picked from commit aae90cb)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick from upstream
Upstream commit:
aae90cb03Author: Ayaan Zaidi (AyaanZavworworker)
Tier: AUTO-PICK
Retry of closed #1402 — fixed test failures and conflict resolution.
Adaptations
CHANGELOG.md: deleted in fork (git rm)src/telegram/bot-message-dispatch.ts: RemovedresolveStickerVisionSupport(model catalog gutted); kept fork's unconditional sticker description path but adopted upstream'spruneStickerMediaFromContextto preserve replied media contextsrc/telegram/bot-native-commands.ts: Fork renamednormalizeDmAllowFromWithStore→normalizeAllowFromWithStore; added upstream's newTelegramMediaRefimportsrc/telegram/bot.test.ts: Addedagents.listwith workspace config to test mock (fork requires explicit workspace per agent)Co-authored-by: Ayaan Zaidi [email protected]
🤖 Generated with Claude Code