Add trusted_servers, filter servers to query keys by trusted_servers
This commit is contained in:
parent
c9f4ff5cf8
commit
79c9de98cd
3 changed files with 19 additions and 3 deletions
|
@ -39,6 +39,8 @@ pub struct Config {
|
|||
#[serde(default = "false_fn")]
|
||||
allow_federation: bool,
|
||||
jwt_secret: Option<String>,
|
||||
#[serde(default = "Vec::new")]
|
||||
trusted_servers: Vec<Box<ServerName>>,
|
||||
}
|
||||
|
||||
fn false_fn() -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue