-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Removing every member from a comminuty leaves behind a dead community #3023
Comments
+1, created a test community: https://riot.im/app/#/group/+thanking:matrix.org and I can't reclaim the id. |
…rg#3023 if run perpetually
+1 Just updated my merge request #3401 that would help with this issue. |
There is now an api to remove a group https://github.com/matrix-org/synapse/blob/master/docs/admin_api/delete_group.md |
However, that would not cover the groups that are already dead and without users. For cleaning those up, I would create a delta file with a line of SQL to delete all groups without any remaining users in them. This will go when Synapse is first run after upgrade to a version containing this delta file. |
Just a quick addition, the correct function to modify would be synapse/synapse/groups/groups_server.py Line 745 in 54fef09
I will look into it |
Can be closed now can't it? |
Yep! |
If every member of a community leaves it, the community is still saved on the server and blocks the name. Like this (kind of accidental) test-community I created:
https://riot.im/app/#/group/+bobbycar:matrix.org
I could imagine that there are more ghost-communities on the servers. It would be nice if a community could be purged once it is empty.
The text was updated successfully, but these errors were encountered: