Skip to content
New issue

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

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

Already on GitHub? # to your account

Deleting a room does not delete unreferenced state groups in the room. #17937

Closed
erikjohnston opened this issue Nov 18, 2024 · 1 comment
Closed

Comments

@erikjohnston
Copy link
Member

Instead, it only deletes referenced state groups in the room.

We should modify:

state_groups_to_delete = await self.stores.main.purge_room(room_id)
await self.stores.state.purge_room_state(room_id, state_groups_to_delete)

To also fetch state groups from state_groups that match the room ID being deleted.

@erikjohnston
Copy link
Member Author

This was done by @MatMaul in #18024 🎉

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

No branches or pull requests

2 participants