RocketChat / RocketChat/Rocket.Chat
Wrong number of users in channels reported by Directory feature
Open
@sampaiodiego is already working on this.
Since May 11, 2019.
type: bug
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Directory shows list of channels and number of users in each channel.
Numbers are wrong.
Steps to reproduce:
- Go to Directory -> Channels
- Check number of users
- Go to channel
- Check info
Expected behavior:
Number of users match
Actual behavior:
Number of users doesn't match
For example, general channel

Directory listing reports 6002 users.

Channel info reports 69813 (proper value).
There are also channels where directory reports negative number of users:

While in fact there are 202 and 450 users respectively.
Server Setup Information:
- Version of Rocket.Chat Server: 1.0.3 (same issue was before upgrade)
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.
Assessment
This issue has not been assessed yet.