RocketChat / RocketChat/Rocket.Chat
Deleting Messages deletes max 2000 messages
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Deleting Messages deletes max 2000 messages
Steps to reproduce:
- click on the channel in question
- click on the triple dot in the upper right corner
- click delete messages
- select older-than
- choose 2021-01-01
- click the big fat red DELETE button
Expected behavior:
Messages before 2021-01-01 are deleted
Actual behavior:
2000 Messages are deleted.
Server Setup Information:
- Version of Rocket.Chat Server: 3.12.1
- Operating System: Linux
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog: I dont know what this is
- NodeJS Version: 12.18.4
- MongoDB Version: 3.6.14
Client Setup Information
- Desktop App or Browser Version: desktop 3.0.3
- Operating System: MacOS
Additional context
none that I am aware of.
Relevant logs:
no relevant logs found.
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
Start by reproducing the deletion through the channel menu with more than 2,000 messages matching the selected date, then trace that action from the UI into the server-side deletion handling. Look for the batch limit and verify that all messages before 2021-01-01 are deleted rather than only the first 2,000.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100