feat: registration tokens
This commit is contained in:
parent
3e518773e2
commit
c028e0553c
6 changed files with 37 additions and 15 deletions
|
@ -46,6 +46,7 @@ pub struct Config {
|
|||
pub max_fetch_prev_events: u16,
|
||||
#[serde(default = "false_fn")]
|
||||
pub allow_registration: bool,
|
||||
pub registration_token: Option<String>,
|
||||
#[serde(default = "true_fn")]
|
||||
pub allow_encryption: bool,
|
||||
#[serde(default = "false_fn")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue