mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: reliance on external constants being stable
This commit is contained in:
@@ -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