mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
Review follow-ups on the authorization work.
The listing carried its own copy of the ROM visibility decision. The shared
`assert_rom_visible` already masks a hidden ROM as a missing one, so the route
uses that instead and a private duplicate disappears. Hidden and unknown ids
now answer 404 rather than `200 {}`, which the in-tree client already maps to
no rooms.
The socket module's docstrings are cut to the one sentence each that carries
something the code does not, and the new test helpers are typed, which also
drops an unused `sid` argument from every call site.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>