RocketChat / RocketChat/EmbeddedChat

Bug: Images sent via App Engine are treated as generic files instead of images

Open
#1,140 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
165
Forks
381
Avg merge
1d 2h
Merged PRs (30d)
1

Description

Description:

When sending images through apps built using the Rocket.Chat App Engine, the images are delivered to the chat as generic file attachments instead of being rendered as inline images (with preview / thumbnail support).

Steps to reproduce:
  1. Create a Rocket.Chat app using the App Engine
  2. From the app, send a message containing an image attachment using the App Engine APIs. (in my case this a customized slash command to the user)
  3. Open the message in a channel
Expected behavior:

https://github.com/user-attachments/assets/1c448339-3e19-48a4-a82d-02338c3780cf

Actual behavior:
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by creating an EmbeddedChat app and sending an image attachment through the App Engine API, such as the customized slash command described. Trace how the attachment is classified and rendered in the chat, then verify that the message displays an inline image with preview or thumbnail support rather than a generic file attachment.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.