RocketChat / RocketChat/Rocket.Chat
Message Attachments w/o Title and "Collapse Embedded Media by Default" Hides Content
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
When "Collapse Embedded Media by Default" is set to true, message attachments usually have an expand/collapse widget that can be used to expand a collapsed message. If the message attachment has no title, then this widget is not rendered and there is no way to expand the message content. Instead, you get a blank message.
With "Collapse Embedded Media by Default" set to true:

With it set to false:

Server Setup Information:
- Version of Rocket.Chat Server: 60.4
- Operating System: Fedora and Windows
- Deployment Method(snap/docker/tar/etc): Docker
- Number of Running Instances: 5
- DB Replicaset Oplog: Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test entry point is identified in the issue. Reproduce the blank attachment with "Collapse Embedded Media by Default" enabled and a message attachment without a title; trace the attachment rendering and expansion control. Done means untitled attachments remain expandable and their content is visible while the setting is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100