RocketChat / RocketChat/Rocket.Chat

Mentions don't work in attachment description

Open
#25,918 6 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug type: improvement
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

We can't use mentions inside attachment's description.

Steps to reproduce:
  1. type some mention tag
  2. attach some attachment (e.g. image)
  3. send message
Expected behavior:

Mentioning works.

Actual behavior:

Mention degenerates into plain text.

Server Setup Information:

Tested on https://open.rocket.chat

Client Setup Information

-

Additional context

Video demo: https://user-images.githubusercontent.com/2260980/174446155-cd415a0b-bb32-4d0b-8d5c-256b784347ce.mp4

Relevant logs:

-

Contributor guide

Open the contributing guide

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 on the linked open.rocket.chat instance using the listed steps, then trace how mention tags in attachment descriptions are processed before a message is sent. Done means a mention in an attachment description remains a working mention rather than becoming plain text.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.