events: Update the description of JoinRule::Knock

This commit is contained in:
Kévin Commaille 2022-02-23 13:35:24 +01:00 committed by GitHub
parent edc7b97d05
commit 794f1185ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,9 @@ pub enum JoinRule {
#[serde(rename = "invite")] #[serde(rename = "invite")]
Invite, Invite,
/// Reserved but not yet implemented by the Matrix specification. /// Users can join the room if they are invited, or they can request an invite to the room.
///
/// They can be allowed (invited) or denied (kicked/banned) access.
#[serde(rename = "knock")] #[serde(rename = "knock")]
Knock, Knock,