mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-10 17:03:20 -04:00
doc(ui): Explain why m.room.create is necessary.
This patch explains why having `m.room.create` is necessary. It's not only about the room previews, but also about the room versions, and thus the tombstoned rooms.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user