feat(spaces): hierarchy over federation

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
Matthias Ahouansou 2024-03-16 16:09:11 -04:00 committed by June
parent 1ecbf55d68
commit e7c6b8c91b
8 changed files with 1138 additions and 315 deletions

View file

@ -418,7 +418,7 @@ impl Service {
},
TimelineEventType::SpaceChild => {
if let Some(_state_key) = &pdu.state_key {
services().rooms.spaces.roomid_spacechunk_cache.lock().await.remove(&pdu.room_id);
services().rooms.spaces.roomid_spacehierarchy_cache.lock().await.remove(&pdu.room_id);
}
},
TimelineEventType::RoomMember => {