New protected communitites feature

This commit is contained in:
Neshura 2023-12-18 11:23:47 +01:00
parent 2069345e9e
commit 080b0bf4d8
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
3 changed files with 24 additions and 4 deletions
src/config

View file

@ -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![]
}
}