common: Make Restricted::allow public
This commit is contained in:
parent
09ac0aa3ac
commit
d7a53d8bac
@ -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
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user