-
Notifications
You must be signed in to change notification settings - Fork 13.5k
"Message Erasure Type" not working for direct messages #22360
Copy link
Copy link
Closed
Description
Description:
Direct messages get deleted, even though "Message Erasure Type" is set to "Keep Messages and User Name".
"Message Erasure Type" not working for direct messages.
Steps to reproduce:
- As an admin, set "Message Erasure Type" to "Keep Messages and User Name" under "Message"
- Create a User
- Start a direct message with this user
- Delete the User
Expected behavior:
I'd expect all messages with the deleted account would remain.
Actual behavior:
When an account is deleted, all direct messages with the user will be deleted.
Messages in channels or rooms will remain (as expected)
Server Setup Information:
- Version of Rocket.Chat Server: 3.15.0
- Operating System: Centos 7
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: enable
- NodeJS Version: v12.22.1
- MongoDB Version: 4.0.23
Client Setup Information
Desktop App or Browser Version: Happens in both
Operating System: Windows / Linux / All
Additional context
We need keep direct messages when user delete
Relevant logs:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels