roomid_spacehierarchy_cache not invalidated on room event #1522

Open
opened 2026-03-09 23:24:46 +00:00 by javif89 · 1 comment

Found this issue while working on my client and testing out room hierarchies.

  1. Create a subspace in a space
  2. Leave the subspace
  3. Subspace is still returned in room hierarchy (which is a different issue)
  4. num_joined_members still returns one

Rooms with no members are essentially bricked, but the member count being wrong makes it difficult to make decisions on the client side.

!admin rooms info list-joined-members does return the correct count of zero, which means the problem is in fact the cache not being invalidated.

Found this issue while working on my client and testing out room hierarchies. 1. Create a subspace in a space 2. Leave the subspace 3. Subspace is still returned in room hierarchy (which is a different issue) 4. `num_joined_members` still returns one Rooms with no members are essentially bricked, but the member count being wrong makes it difficult to make decisions on the client side. `!admin rooms info list-joined-members` does return the correct count of zero, which means the problem is in fact the cache not being invalidated.
Author

Happy to action this. I think it should be an easy enough issue for me to dip my toes into the codebase

Happy to action this. I think it should be an easy enough issue for me to dip my toes into the codebase
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity#1522
No description provided.