mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 12:16:54 +00:00
fix: reliance on external constants being stable
This commit is contained in:
1 file changed
+1
-1
@@ -307,7 +307,7 @@ where
|
||||
}
|
||||
|
||||
let sender_user = event.sender();
|
||||
let type_ignored = IGNORED_MESSAGE_TYPES.binary_search(event.kind()).is_ok();
|
||||
let type_ignored = IGNORED_MESSAGE_TYPES.contains(event.kind());
|
||||
let server_ignored = services
|
||||
.moderation
|
||||
.is_remote_server_ignored(sender_user.server_name());
|
||||
|
||||
Reference in new issue
Block a user