diff --git a/crates/matrix-sdk-ui/src/room_list_service/mod.rs b/crates/matrix-sdk-ui/src/room_list_service/mod.rs index ebfd3726f..41b9ed0f6 100644 --- a/crates/matrix-sdk-ui/src/room_list_service/mod.rs +++ b/crates/matrix-sdk-ui/src/room_list_service/mod.rs @@ -90,6 +90,8 @@ const DEFAULT_REQUIRED_STATE: &[(StateEventType, &str)] = &[ (StateEventType::RoomJoinRules, ""), (StateEventType::RoomTombstone, ""), // Those two events are required to properly compute room previews. + // `StateEventType::RoomCreate` is also necessary to compute the room + // version, and thus handling the tombstoned room correctly. (StateEventType::RoomCreate, ""), (StateEventType::RoomHistoryVisibility, ""), // Required to correctly calculate the room display name.