A seat given a new token loses its address note: whoever used it before has no claim on it by address, and the next use from the new device is noted afresh

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CCLa2PaEeCj8njQZSWGqHx
This commit is contained in:
Eric WagonerandClaude Fable 5.1 committed 2026-11-10 22:01:17 -05:00
1 parent 8e9f5fb8ce
commit 85534b983a
2 files changed
+9 -2

No files matched your search

+2
View File
@@ -597,6 +597,8 @@ function apply(room: Room, line: LedgerLine): void {
const seat = room.seats.find((s) => s.id === line.id);
if (!seat) break;
seat.tokenHash = line.tokenHash;
// Whoever used the seat before has no claim on it by address now: the next use from the new device is noted afresh.
delete seat.addr;
seat.bot = false;
delete seat.standIn;
break;