synapse icon indicating copy to clipboard operation
synapse copied to clipboard

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

Open Twi1ightSparkle opened this issue 1 year ago • 1 comments

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 avatar Oct 10 '24 10:10 Twi1ightSparkle

Also because of https://github.com/matrix-org/matrix-react-sdk/pull/12286, there is currently no way for users to manually forget rooms they have left using Element

Twi1ightSparkle avatar Oct 10 '24 10:10 Twi1ightSparkle

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

daedric7 avatar Oct 13 '24 11:10 daedric7