Scope live chat to the current match and save match history

This commit is contained in:
2026-10-07 00:40:20 -04:00
parent 8fcabe27fc
commit 2b8e102b86
14 changed files with 266 additions and 30 deletions
+3
View File
@@ -1,3 +1,5 @@
import type { ContextualChatEntry } from './game-chat.js';
// Reset/abandoned games at round 1 do not qualify as gameplay records.
export const MIN_RECORDED_ROUND = 2;
@@ -43,6 +45,7 @@ export interface MatchDetail extends ServerMatch {
game: string;
startObserved: boolean;
players: MatchPlayer[];
chat: ContextualChatEntry[];
}
export interface MatchHistoryResponse {