RocketChat / RocketChat/Rocket.Chat
REST API: unread counter and adding member to the group
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
New group (without messages) has not empty unread counter after creation via REST API. It seems the reason is that adding new member to the group creates new message in the chat (http://joxi.ru/n2YJRjWHeEdY3A).
That's what I would like:
No affects on unread counter after a member have been added or joined to the group chat.
What I do:
- I create a group via REST API.
- I get the group counters via REST API.
- There is no member's messages yet but unread counter is not 0.
Is it configurable (I can not find any settings)?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by creating an empty group through the REST API, adding or joining a member, and then fetching the group counters. Trace how member-added system messages affect the unread counter. Done means a newly created group reports zero unread messages until an actual member message exists, with coverage for the described REST API flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100