The table-talk count is reactive, so your own words never show as unread
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
8582b7feb7
commit
de279364ce
@@ -380,7 +380,7 @@ class Net {
|
|||||||
stats = $state<Record<string, number | string | null> | null>(null);
|
stats = $state<Record<string, number | string | null> | null>(null);
|
||||||
chatSeen = $state<Record<string, number>>(loadChatSeen());
|
chatSeen = $state<Record<string, number>>(loadChatSeen());
|
||||||
/** Messages in the current room this session (history + live). */
|
/** Messages in the current room this session (history + live). */
|
||||||
chatCount = 0;
|
chatCount = $state(0);
|
||||||
games = $state<GameSummary[]>([]);
|
games = $state<GameSummary[]>([]);
|
||||||
notificationsEnabled = $state(
|
notificationsEnabled = $state(
|
||||||
typeof Notification !== "undefined" && Notification.permission === "granted",
|
typeof Notification !== "undefined" && Notification.permission === "granted",
|
||||||
|
|||||||
Reference in New Issue
Block a user