fix needlessly strict appservice user existence check

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-11-24 23:08:40 -05:00
parent 8611cc0ee9
commit e9fee04eef

View file

@ -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),