You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Description
Calling the Admin Purge history API of a room, does not purge all messages, it leaves the last message behind.
Steps to reproduce
4 Messages written on the room
hi
hello
bye
this is the last message
Then Call
https://homeserver/_synapse/admin/v1/purge_history/<room_id>
With a greater ts than the messages
Body
The last message of the room is not purged. Even if you try to invoke the API with a greater ts, it does not work.
Checking the logs
It says "found 4 events before cutoff", so it is correct, but it does not delete 4th. The stream_ordering is fine, because it finds the 4 events.
Calling again with a greater ts the logs shows
The stream_ordering of the two calls are the same.
Version information
Synapse: 1.9.1
The text was updated successfully, but these errors were encountered: