fix a few error codes

Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
June Clementine Strawberry committed 2025-03-09 14:20:24 -04:00
1 parent 47ff91243d
commit 0e342aab7f
3 files changed
+20 -12

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ pub(crate) async fn get_alias_route(
let Ok((room_id, servers)) = services.rooms.alias.resolve_alias(&room_alias, None).await
else {
return Err!(Request(NotFound("Room with alias not found.")));
return Err!(Request(Unknown("Room with alias not found.")));
};
let servers = room_available_servers(&services, &room_id, &room_alias, servers).await;