Skip to content

Bug: StreamChat channel only accepts image attachments, not other file types #4

@webtecnica

Description

@webtecnica

Description

The StreamChat channel (openclaw-channel-streamchat) only accepts image attachments. When trying to upload other file types (PDF, DOC, TXT, etc.), the upload fails or is rejected by the UI.

Expected behavior

Should be able to attach and send any file type, not just images.

Steps to reproduce

  1. Open Control UI (streamchat channel)
  2. Try to attach a PDF or DOC file using the attachment button
  3. Only images are accepted; other files are rejected

Environment

  • OpenClaw version: 2026.3.24
  • Channel: streamchat (Control UI)
  • Plugin: openclaw-channel-streamchat v0.1.0

Additional context

Looking at the plugin source code (channel.ts), the capabilities show media: true, but the actual implementation only supports images via sendImage(). Non-image files should be sent via sendFile() but this appears to not be working properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions