mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Apply spam checker to local restricted joins
This commit is contained in:
@@ -214,7 +214,7 @@ pub(crate) async fn user_can_perform_restricted_join(
|
||||
.await
|
||||
{
|
||||
| Ok(()) => Ok(true),
|
||||
| Err(e) => Err!(Request(Forbidden("Antispam rejected join request."))),
|
||||
| Err(_) => Err!(Request(Forbidden("Antispam rejected join request."))),
|
||||
},
|
||||
| _ => {
|
||||
debug_info!(
|
||||
|
||||
Reference in New Issue
Block a user