diff --git a/crates/ruma-common/CHANGELOG.md b/crates/ruma-common/CHANGELOG.md index 0d1ae4ce..6038b2af 100644 --- a/crates/ruma-common/CHANGELOG.md +++ b/crates/ruma-common/CHANGELOG.md @@ -30,6 +30,7 @@ Improvements: * Add unstable support for voice messages (MSC3245) * Add unstable support for threads (MSC3440) * Add `ReceiptEventContent::user_receipt` +* Make `Restricted::allow` public # 0.8.0 diff --git a/crates/ruma-common/src/events/room/join_rules.rs b/crates/ruma-common/src/events/room/join_rules.rs index a02a574d..0801639f 100644 --- a/crates/ruma-common/src/events/room/join_rules.rs +++ b/crates/ruma-common/src/events/room/join_rules.rs @@ -154,7 +154,7 @@ impl<'de> Deserialize<'de> for JoinRule { #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] pub struct Restricted { /// Allow rules which describe conditions that allow joining a room. - allow: Vec, + pub allow: Vec, } impl Restricted {