RocketChat / RocketChat/Rocket.Chat

Private message unread count 0 for normal user

Open
#23,977 40 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue hacktoberfest
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:
Steps to reproduce:
  1. call /api/v1/subscriptions.get
  2. response object has unread count 0 even if the channel has unread message
Expected behavior:

get the number of unread count from the channels

Actual behavior:

image

Server Setup Information:
  • Version of Rocket.Chat Server:
    rocket chat iframe integration

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 by tracing the /api/v1/subscriptions.get endpoint and its unread-count calculation for normal users, then compare its response with the unread messages in the subscribed channels. Reproduce the request using the issue's steps and verify that the returned count matches the channel unread counts for a normal user.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.