RocketChat / RocketChat/Rocket.Chat

Private channel unread count not increasing for all members

Open
#30,376 3 comments 1 reaction 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

Unread message count does not increase for every member of private channel.

Steps to reproduce
  1. Create private channel with 3 members
  2. Send @all mention and tag anyone from the chat with @Member1 (In the same message)
Expected behavior:

Unread count on subscriptions for all chat members except sender increases.

Actual behavior:

Unread count increases only for @Member1 in database. Everyone else does not have any unread messages.

Server Setup Information:
  • Version of Rocket.Chat Server: 6.3.4

  • Operating System: Ubuntu 22.04.3 LTS 64bit

  • Deployment Method: Docker

  • Number of Running Instances: 1

  • DB Replicaset Oplog: Enabled

  • NodeJS Version: 14.21.3 - x64

  • MongoDB Version: 4.4

  • Desktop App or Browser Version: Google Chrome (latest)

  • Operating System: Ubuntu 22.04.3 LTS 64bit

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 source file or test is named. Start by reproducing the three-member private-channel case with a message containing @all and @Member1, then trace how subscription unread counts are updated. Done means every member except the sender has an increased unread count, rather than only @Member1.

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.