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

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

Open
erikjohnston opened this issue Nov 18, 2024 · 0 comments
Open

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.

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

1 participant