From 1e313846cacf99603a9a0e9979933386a7abc7e7 Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 17 May 2024 18:03:34 +0900 Subject: [PATCH] fix (backend-rs): typo --- packages/backend-rs/src/misc/check_hit_antenna.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend-rs/src/misc/check_hit_antenna.rs b/packages/backend-rs/src/misc/check_hit_antenna.rs index 0a6871837f..957598c852 100644 --- a/packages/backend-rs/src/misc/check_hit_antenna.rs +++ b/packages/backend-rs/src/misc/check_hit_antenna.rs @@ -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