RocketChat / RocketChat/Rocket.Chat
DM channel history truncated (but only on desktop/browser)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
History appears truncated, showing the:

header at the top, even though there are months worth of history. The mobile app, however, shows the entire history (even after clearing local cache just to make sure).
Steps to reproduce:
- Install latest develop (ac9d7612a)
- Attempt to view history for a dm channel known to have significant history.
- Only the last day or so will be visible, and the "You have joined a new direct message" appears at top (as with a brand new conversation)
- All history also appears to still be fully searchable, it just no longer shows up in the normal message list.
Expected behavior:
All available history should be visible.
Actual behavior:
History is truncated and the "You have joined a new direct message" appears at top.
Server Setup Information:
- Version of Rocket.Chat Server: 3.11.0-develop
- Operating System: Ubuntu 20.04.1 LTS
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: Enabled
- NodeJS Version: v12.18.4
- MongoDB Version: 4.0.22 / wiredTiger (oplog Enabled)
Client Setup Information
- Desktop App or Browser Version: 3.1.1 (on desktop) / Firefox 84.0.2 (browser)
- Operating System: Windows 10 Pro 20H2
Additional context



Relevant logs:
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
No source file or test is named. Reproduce on the develop version using a DM with substantial history, comparing the desktop/browser message list with mobile and search results; done when the full history is visible and the new-DM marker no longer replaces older messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100