RocketChat / RocketChat/Rocket.Chat

bug: Thread Participant Count Fails to Update on Complete Deletion of User Messages

Open
#31,633 0 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 user deletes all messages within a thread, the participant count remains unchanged, failing to decrease by 1 reflecting the user's complete disengagement from the thread.

https://github.com/RocketChat/Rocket.Chat/assets/64376712/aa7b8307-463d-4f12-bb2e-ffcfedc4e69c

Steps to reproduce:
  1. Delete all messages from a thread.
  2. Observe that the participant count does not decrease as expected.
Expected behavior:
  1. it should have decreased by 1.
Client Setup Information

Chrome
Operating System: macOS
Version - 6.6.0-develop

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

No file or test is named. Reproduce the issue in Chrome on macOS by deleting all messages from a thread, then trace the participant-count update path. Done means the count decreases by one when a user has no remaining messages in the thread.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.