Implement admin check and add config option for allowing room creation
This commit is contained in:
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user