Rewrite the chat client onto the SSE + HTTP system

This commit is contained in:
Kalle
2026-08-23 17:50:22 +03:00
parent 06447a1157
commit 988d7fd5a2
71 changed files with 2097 additions and 1589 deletions

View File

@@ -242,10 +242,10 @@ export function buildCases(fx: Fixtures): {
ChatRepository.findMessageById(messageId),
);
add(
"ChatRepository.findUnreadCountsByRoomIds",
"ChatRepository.findMessageStatsByRoomIds",
both(fx.heavyUser, fx.heavyChatRoomId),
([user, roomId]) =>
ChatRepository.findUnreadCountsByRoomIds(user.id, [roomId]),
ChatRepository.findMessageStatsByRoomIds(user.id, [roomId]),
);
// ChatRoomResolver