Skip to content

Search for any old event#148

Open
Jujure wants to merge 1 commit intomatrix-org:mainfrom
Jujure:search_old
Open

Search for any old event#148
Jujure wants to merge 1 commit intomatrix-org:mainfrom
Jujure:search_old

Conversation

@Jujure
Copy link

@Jujure Jujure commented Apr 4, 2025

I have a use case where I want to be able to easily get the set of indexed events older than a specified age.

I want to do this so I am able to delete from the index events that have been automatically deleted by the homeserver after their retention period but may remain inside the index since no redaction event is issued by the server (I think ?).

The scenario I want to avoid is if a seshat index gets fully compromised, the attacker may access the entire history, even events that expired due to room/server retention.

This PR aims to later be able to control a retention period on the client.

I will work on an async version of this next week but I am still taking feedbacks on this.

@richvdh richvdh requested a review from poljar February 7, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant