made webhook avatar configurable

This commit is contained in:
2020-10-14 11:31:18 +01:00
parent 254c9b04e9
commit dca2b37fb0
4 changed files with 27 additions and 11 deletions

View File

@ -53,4 +53,5 @@ lazy_static! {
THEME_COLOR_FALLBACK,
|inner| u32::from_str_radix(&inner, 16).unwrap_or(THEME_COLOR_FALLBACK)
);
pub static ref WEBHOOK_AVATAR: Option<String> = env::var("WEBHOOK_AVATAR").ok();
}