Implement admin check and add config option for allowing room creation
This commit is contained in:
parent
47f3263396
commit
6bc8fb2ae7
4 changed files with 34 additions and 1 deletions
|
@ -61,6 +61,8 @@ pub struct Config {
|
|||
allow_encryption: bool,
|
||||
#[serde(default = "false_fn")]
|
||||
allow_federation: bool,
|
||||
#[serde(default = "true_fn")]
|
||||
allow_room_creation: bool,
|
||||
#[serde(default = "false_fn")]
|
||||
pub allow_jaeger: bool,
|
||||
#[serde(default = "false_fn")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue