Skip to content
Snippets Groups Projects
Commit f1b41ce6 authored by 🥺's avatar 🥺 :transgender_flag: Committed by Jason Volk
Browse files

remove unnecessary alias check on deleting room aliases

parent 826b1d1d
No related branches found
No related tags found
3 merge requests!561morguldir/sliding sync fixes,!559Auth Media,!553Misc
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment