element-hq / element-hq/dendrite

Option to automatically purge rooms with no local members

Open
#2,947 5 comments 0 reactions 0 assignees View on GitHub
F-Admin-API T-Enhancement
Dominant language
Go
Stars
965
Forks
101
PR merge metrics
No merged PRs in 30d

Description

*This issue was originally created by [**@bones-was-here**](https://github.com/bones-was-here) at .*

**Description:**

Feature request: a setting to delete data for rooms the server no longer participates in (all local users have left and/or forgotten the room). Now that #2662 has merged it would be possible to duct tape this on with scripts and cron jobs, but since many admins will need this it would be best if it could be enabled in dendrite.yaml.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the behavior enabled by #2662 and the existing dendrite.yaml configuration structure. Trace how rooms with no local members or forgotten rooms are represented, then define what data the setting should purge and verify the result with the project's relevant tests or a local server run.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.