Scope live chat to the current match and save match history
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user