Return 404 instead of 403 for summaries of missing rooms

This commit is contained in:
ginger authored and Ellis Git committed 2026-11-13 03:32:50 +00:00
1 parent 5d0dc8b137
commit ae0a2d1797
1 file changed
+1 -1
+1 -1
View File
@@ -39,7 +39,7 @@ pub(crate) async fn get_room_summary(
Err!(Request(Forbidden("You may not preview this room."), FORBIDDEN))
},
| Accessibility::NotFound => {
Err!(Request(Forbidden("This room does not exist."), FORBIDDEN))
Err!(Request(NotFound("This room does not exist."), FORBIDDEN))
},
}
}