Users: Serve early adopter badge from server.

This commit is contained in:
Paul
2021-05-25 13:37:12 +01:00
parent f1462d4e4d
commit 67b9b8ceee
5 changed files with 31 additions and 12 deletions

View File

@@ -64,6 +64,8 @@ lazy_static! {
// Application Logic Settings
pub static ref MAX_GROUP_SIZE: usize =
env::var("REVOLT_MAX_GROUP_SIZE").unwrap_or_else(|_| "50".to_string()).parse().unwrap();
pub static ref EARLY_ADOPTER_BADGE: i64 =
env::var("REVOLT_EARLY_ADOPTER_BADGE").unwrap_or_else(|_| "0".to_string()).parse().unwrap();
}
pub fn preflight_checks() {