This commit is contained in:
2026-10-23 17:49:14 +03:00
parent 1fddc0e76c
commit f39147689a
23 changed files with 1351 additions and 10 deletions
@@ -127,4 +127,9 @@ public class ChatService {
private CursorCodec.PageBoundary boundaryOf(Chat chat) {
return new CursorCodec.PageBoundary(chat.getCreatedAt(), chat.getId());
}
@Transactional
public boolean existsByIdAndMembersId(UUID chatId, UUID userId){
return chatRepository.existsByIdAndMembersId(chatId, userId);
}
}