client-api: Add knock_restricted join rule
According to MSC3787
This commit is contained in:
parent
33a47427c1
commit
28d0d90ab5
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user