mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-12-04 20:08:10 +00:00
fix needlessly strict appservice user existence check
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
8611cc0ee9
commit
e9fee04eef
|
@ -197,10 +197,6 @@ async fn auth_appservice(services: &Services, request: &Request, info: Box<Regis
|
|||
return Err!(Request(Exclusive("User is not in namespace.")));
|
||||
}
|
||||
|
||||
if !services.users.exists(&user_id).await {
|
||||
return Err!(Request(Forbidden("User does not exist.")));
|
||||
}
|
||||
|
||||
Ok(Auth {
|
||||
origin: None,
|
||||
sender_user: Some(user_id),
|
||||
|
|
Loading…
Reference in a new issue