diff --git a/src/api/client/alias.rs b/src/api/client/alias.rs index 18d1c5b0..12d6352c 100644 --- a/src/api/client/alias.rs +++ b/src/api/client/alias.rs @@ -69,15 +69,6 @@ pub(crate) async fn delete_alias_route( .appservice_checks(&body.room_alias, &body.appservice_info) .await?; - if services - .rooms - .alias - .resolve_local_alias(&body.room_alias)? - .is_none() - { - return Err(Error::BadRequest(ErrorKind::NotFound, "Alias does not exist.")); - } - services .rooms .alias