Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public class ChatMessageResponse {
@Schema(description = "코드 참조")
private final CodeReferenceResponse codeReference;

@Schema(description = "내 메시지 여부", name = "IsMine")
private final boolean isMine;
@Schema(description = "내 메시지 여부")
private final boolean IsMine;

@Schema(description = "보낸 시간", example = "2025-07-25T21:20:00Z")
private final LocalDateTime sentAt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public ChatMessagesResponse getMessages(Long repositoryId, Long userId, Long bef
.codeReference(Optional.ofNullable(referenceMap.get(msg.getId()))
.map(CodeReferenceResponse::from)
.orElse(null))
.isMine(msg.getSender().getId().equals(userId))
.IsMine(msg.getSender().getId().equals(userId))
.sentAt(msg.getSentAt())
.build())
.toList();
Expand Down Expand Up @@ -141,7 +141,7 @@ public ChatMessageSearchResponse searchMessages(Long repositoryId, Long userId,
.codeReference(Optional.ofNullable(ref.get(msg.getId()))
.map(CodeReferenceResponse::from)
.orElse(null))
.isMine(msg.getSender().getId().equals(userId))
.IsMine(msg.getSender().getId().equals(userId))
.sentAt(msg.getSentAt())
.build()
).toList();
Expand Down