diff --git a/fishctl/src/config/server.rs b/fishctl/src/config/server.rs index c491386..7b46177 100644 --- a/fishctl/src/config/server.rs +++ b/fishctl/src/config/server.rs @@ -190,6 +190,11 @@ fn validate_email_struct(value: &Email) -> Result<(), ValidationError> { fn validate_emoji(value: &str) -> Result<(), ValidationError> { let error = Err(ValidationError::new("not a Unicode emoji or :emoji_code:")); + // "star", "heart", "good" are explicitly allowed + if ["star", "heart", "good"].contains(&value) { + return Ok(()); + } + // check if `value` is a Unicode emoji if emojis::get(value).is_some() { return Ok(());