RocketChat / RocketChat/Rocket.Chat

Impossible to delete a quote from a message

Open
#7,951 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description:

Impossible to delete a quote from a message when you edit it.

Server Setup Information:
  • Version of Rocket.Chat Server: Demo.rocket.chat (and our on premise on 0.55)
Steps to Reproduce:
  1. Add a message in a channel
  2. Reply to it or quote it
  3. Edit the last message to make the quote disappear : the quote is still there
Expected behavior:

When you edit a message, you should be able to remove the quote.

Actual behavior:

It is impossible to remove a quote (from a quoted message or a reply)

image

Even though the quote is not in the edit area (no "[]URL..." appears), the quote is still in the chat area.

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 problem by creating a quoted or replied-to message, editing it, and removing the quote content. Trace the message editing and quote display paths to find why the old quote remains; done means the quote disappears from the chat after saving the edit.

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
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.