Skip to content

Telegram outbound filenames include internal cache suffix (---<uuid>) #96538

Description

@Frojoe6969

Bug Report

Describe the bug
When OpenClaw sends files outbound via Telegram, the filename includes an internal cache suffix in the format ---<uuid> appended to the original filename. This leaks internal implementation details to end users.

Example
A file intended to be sent as photo.jpg arrives as photo---a1b2c3d4-e5f6-7890-abcd-ef1234567890.jpg.

Expected behavior
The filename delivered to the Telegram recipient should match the original filename without any internal cache identifiers.

Steps to reproduce

  1. Have OpenClaw send any file attachment via a Telegram channel
  2. Observe the filename received by the Telegram user

Environment

  • OpenClaw on WSL2 (Linux)
  • Telegram outbound channel

Additional context
The ---<uuid> suffix appears to be added during the internal caching/staging process before the file is sent. The suffix should be stripped before the filename is passed to the Telegram API send call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.no-staleExclude from stale automation

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions