mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-09 20:56:02 -05:00
Comments
This commit is contained in:
@@ -16,6 +16,8 @@ import {
|
||||
} from "~/utils/urls";
|
||||
import type { ChatRoomType } from "./chat-types";
|
||||
|
||||
// xxx: direct DB calls here, should not be a thing, the logic also seems quite heavy, needed?
|
||||
|
||||
export interface ResolvedRoom {
|
||||
roomId: number;
|
||||
type: ChatRoomType;
|
||||
|
||||
@@ -207,6 +207,7 @@ export function insertBracket(args: {
|
||||
|
||||
const statuses = matchStatuses(args.bracket);
|
||||
|
||||
// xxx: check if this is true
|
||||
// only matches that can already be played get a chat room; the rest get
|
||||
// theirs as they start (see syncStartedAt)
|
||||
const chatRoomIdByMatchId = new Map<number, number>();
|
||||
|
||||
Reference in New Issue
Block a user