New protected communitites feature
This commit is contained in:
parent
2069345e9e
commit
080b0bf4d8
3 changed files with 24 additions and 4 deletions
src/config
|
@ -6,6 +6,7 @@ pub(crate) struct Config {
|
|||
pub(crate) instance: String,
|
||||
pub(crate) status_post_url: Option<String>,
|
||||
pub(crate) config_reload_seconds: u32,
|
||||
pub(crate) protected_communities: Vec<String>,
|
||||
pub(crate) series: Vec<SeriesConfig>,
|
||||
}
|
||||
|
||||
|
@ -34,6 +35,7 @@ impl Default for Config {
|
|||
instance: "".to_string(),
|
||||
status_post_url: None,
|
||||
config_reload_seconds: 21600,
|
||||
protected_communities: vec![],
|
||||
series: vec![]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue