RocketChat / RocketChat/Rocket.Chat

Channel Has Unread Message Indicator but Messages Don't Show Up Until Refresh

Open
#29,133 8 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

We are seeing an unread message indicator for a channel but no new messages in the channel. The messages will appear if we refresh the page or app. This started happening after we upgraded to v6.x.

Steps to reproduce:
  1. Open app and wait for new message in channel
  2. Look for message after channel unread indicator shows up
  3. Refresh app to actually see message
Expected behavior:

Messages should show automatically without refresh.

Actual behavior:

Messages don't show until refreshing the app.

Server Setup Information:
  • Version of Rocket.Chat Server: 6.1.5
  • Operating System: CentOS 7
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Yes
  • NodeJS Version: 14.21.2
  • MongoDB Version: 5.0.15
Client Setup Information
  • Desktop App or Browser Version: App 3.9.1 and Google Chrome 112.0.5615.121
  • Operating System: Windows 10
Additional context
Relevant logs:

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

The report provides reproduction steps and environment details but names no files, tests, or entry points. Start by reproducing the missing-message behavior with the listed client and server versions, then trace the update path; done means new channel messages appear without an app refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mongodb, nodejs, typescript
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.