Files
FFF_vtt_frozen/tools
SirStone fda83621f3 fix(server): broadcast roster on plain connect and close (#88)
A reconnect with an existing name fires no intent, so the only roster the
GM saw was the connecting connection's own resync; the row stayed offline
while the player badge said Connected.

Send the GM roster when a connection activates (skipping the connecting
connection, which already got it in the 6.3 resync) and after a close, with
the registry entry removed first so connected is recomputed. Also cover the
server-initiated malformed-flood close. The setname ack-before-resync
ordering is unchanged.

Tests: WS connect/close/reconnect roster states; e2e GM row follows a
player tab reload and close. protocol test updated for the extra roster on
a second connection.
2026-11-21 23:44:51 +01:00
..