common: Make Restricted::allow public

This commit is contained in:
Johannes Becker 2022-04-19 15:34:33 +02:00 committed by GitHub
parent 09ac0aa3ac
commit d7a53d8bac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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<AllowRule>,
pub allow: Vec<AllowRule>,
}
impl Restricted {