-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Purge API - last message in the room will not be removed #3148
Comments
have you tried the purge api? |
Yes, of course I use the purge api. I delete everything that is older than 7 days, but I still see messages from last month. I always deleted the cache in Riot and in the browser. |
did you set |
Yes, here is my script: #2964 (comment) |
For example, I see a message in the room:
This tells me the api while cleaning:
The message is older than 7 days:
I am currently using matrix v0.29.0 und riot v0.15.1 |
well, that sounds like a bug. If you share some logs during the purge, we might be able to see what's going on. Please could you also update the subject of this issue to something more descriptive. |
This is the entry in the database table for the example above:
I do not see anything unusual. |
I don't know if it's important: it's the last message in the room that's not removed.
That's what I mean by forced purging. I also want to delete the last entry after a certain time. |
oh right. Yes the last message in the room will not be removed. Please update the subject of the issue to be clearer. |
In v0.30.0 it does not look any better either. There is something broken
|
this looks like a separate issue. Please file a separate bug |
Ok, I opened a new issue #3300 |
@babolivier am I dreaming, or did you fix something like this recently? |
Nope. The purge will not remove the latest message in the room because it's the last forward extremity, and removing it would create all sort of not-so-fun stuff. The best way forward would be to redact this event, but that's a bit of a faff currently, and would need further thoughts. |
This issue looks like it was due to an omission in our documentation - that's now fixed in #6891. Should we close it now that it has been merged? |
let's. |
The purging of the history is blocked if any user in a room does not look into the system for an extended period of time. I would like to remove all that is older than 7 days, but many older messages remain. Can this be related to the read receipts?
I would like to force the purge of history. Please check that. Thank you.
debian stretch and matrix-synapse v0.28.0
The text was updated successfully, but these errors were encountered: