Files
romm/docs
Sam Dornan 09bbfe515d refactor(netplay): reuse the shared rom visibility guard
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>
2026-09-22 11:16:55 -05:00
..