Skip to content

fix(telegram): derive media placeholders from MIME#77584

Merged
vincentkoc merged 1 commit into
mainfrom
fix/telegram-media-placeholder-69793
May 4, 2026
Merged

fix(telegram): derive media placeholders from MIME#77584
vincentkoc merged 1 commit into
mainfrom
fix/telegram-media-placeholder-69793

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Summary

Fixes #69793

Verification

  • repro before fix: pnpm test:serial extensions/telegram/src/bot-message-context.body.test.ts -- --reporter=verbose failed 3 new cases with <media:image> returned for non-image/mixed saved media
  • pnpm test:serial extensions/telegram/src/bot-message-context.body.test.ts -- --reporter=verbose passed 9 tests
  • pnpm exec oxfmt --check --threads=1 extensions/telegram/src/bot-message-context.body.ts extensions/telegram/src/bot-message-context.body.test.ts
  • git diff --check
  • OPENCLAW_TESTBOX=1 pnpm testbox:run --id tbx_01kqtnnhpg6rk1225tbb7109kf -- "pnpm check:changed" passed

Notes

  • ghx was not on PATH, so GitHub operations used gh.
  • AI-assisted: yes.

@openclaw-barnacle openclaw-barnacle Bot added channel: telegram Channel integration: telegram size: S maintainer Maintainer-authored PR labels May 4, 2026
@vincentkoc
vincentkoc force-pushed the fix/telegram-media-placeholder-69793 branch from 25a96ac to 6b8b1a7 Compare May 4, 2026 23:46
@vincentkoc
vincentkoc merged commit 0a62c1e into main May 4, 2026
92 checks passed
@vincentkoc
vincentkoc deleted the fix/telegram-media-placeholder-69793 branch May 4, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: telegram Channel integration: telegram maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Telegram photo inbound always sets bodyText=<media:image> regardless of actual contentType

1 participant