fix (backend-rs): typo

This commit is contained in:
naskya 2024-05-17 18:03:34 +09:00
parent ffa08748d0
commit 1e313846ca
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -56,7 +56,7 @@ pub async fn check_hit_antenna(
return Ok(false);
}
} else if antenna.src == AntennaSrcEnum::Instances {
let is_from_one_of_specified_servers = !antenna.instances.iter().any(|host| {
let is_from_one_of_specified_servers = antenna.instances.iter().any(|host| {
host.to_ascii_lowercase()
== note_author
.host