fix: Apply spam checker to local restricted joins
This commit is contained in:
parent
76865e6f91
commit
4b873a1b95
3 changed files with 78 additions and 49 deletions
|
|
@ -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!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue