RocketChat / RocketChat/Rocket.Chat

Deleted thread continues to show replies button

Open
#21,560 9 comments 0 reactions 0 assignees View on GitHub

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 a message that was used to initiate a thread is deleted message is lost but the number of replies and the reply button continues to be visible.

This issue is actually same as #16320.

Steps to reproduce:
  1. Write a message
  2. Reply to the message to start a thread
  3. Delete the message first message
  4. Click on the reply button that will let you post a reply to "nothing"
Expected behavior:

Number of replies and Reply button should not be visible anymore.

Actual behavior:

Number of replies (even if all were deleted) is still visible and Reply button is clickable.

Server Setup Information:
  • Version of Rocket.Chat Server: 3.12.3
  • Operating System: Debian 10 Buster
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • NodeJS Version: 12.18.4
  • MongoDB Version: 4.0.16
Client Setup Information
  • Browser Version: Firefox 78.9.0esr
  • Operating System: Debian 10 Buster

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

Start with the reproduction steps and compare this report with the referenced issue #16320. Verify that deleting the thread's initiating message removes the reply count and reply button, and confirm the behavior after any related replies are deleted.

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
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.