Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an Admin API to forget all rooms with 0 local members #17812

Open
Twi1ightSparkle opened this issue Oct 10, 2024 · 2 comments
Open

Add an Admin API to forget all rooms with 0 local members #17812

Twi1ightSparkle opened this issue Oct 10, 2024 · 2 comments

Comments

@Twi1ightSparkle
Copy link
Contributor

Description:

Since forget_rooms_on_leave defaults to false, enabling forgotten_room_retention_period on your server may leave you with a bunch of old un-forgotten rooms on your server. An Admin API to forget all local rooms with 0 local members would solve this and allow you to easily clean up old unused rooms after enabling forget_rooms_on_leave and/or forgotten_room_retention_period.

The alternative would be to manually look over all the rooms on your server and manually deleting all rooms with 0 local members. But this can be tedious if you have lots of rooms or users.

@Twi1ightSparkle
Copy link
Contributor Author

Also because of matrix-org/matrix-react-sdk#12286, there is currently no way for users to manually forget rooms they have left using Element

@daedric7
Copy link

While this issue is up, know that there are tools to help you with that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants