diff --git a/crates/ruma-client-api/CHANGELOG.md b/crates/ruma-client-api/CHANGELOG.md index cb93d383..591cf131 100644 --- a/crates/ruma-client-api/CHANGELOG.md +++ b/crates/ruma-client-api/CHANGELOG.md @@ -14,6 +14,7 @@ Improvements: * Add support for querying relating events (MSC2675) * Move `filter::RelationType` to `ruma_common::events::relations` * Add unstable support for discovering an OpenID Connect server (MSC2965) +* Add `SpaceRoomJoinRule::KnockRestricted` (MSC3787) # 0.14.1 diff --git a/crates/ruma-client-api/src/space.rs b/crates/ruma-client-api/src/space.rs index 4f50d180..04cc2057 100644 --- a/crates/ruma-client-api/src/space.rs +++ b/crates/ruma-client-api/src/space.rs @@ -164,6 +164,11 @@ pub enum SpaceRoomJoinRule { /// only be seen by users inside the room. Restricted, + /// Users can join the room if they are invited, or if they meet any of the conditions + /// described in a set of [`AllowRule`](ruma_common::events::room::join_rules::AllowRule)s, or + /// they can request an invite to the room. + KnockRestricted, + /// Anyone can join the room without any prior action. Public,