chain_width to 50

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-04-22 04:42:26 +00:00
parent 9b658d86b2
commit 76509830e6
190 changed files with 3469 additions and 930 deletions

View File

@@ -258,7 +258,9 @@ pub(crate) async fn is_ignored_pdu(
return true;
}
let ignored_type = IGNORED_MESSAGE_TYPES.binary_search(&pdu.kind).is_ok();
let ignored_type = IGNORED_MESSAGE_TYPES
.binary_search(&pdu.kind)
.is_ok();
let ignored_server = services
.config
@@ -266,7 +268,11 @@ pub(crate) async fn is_ignored_pdu(
.is_match(pdu.sender().server_name().host());
if ignored_type
&& (ignored_server || services.users.user_is_ignored(&pdu.sender, user_id).await)
&& (ignored_server
|| services
.users
.user_is_ignored(&pdu.sender, user_id)
.await)
{
return true;
}