Skip to content

Commit

Permalink
fix: 채팅방 정보 필드명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
eckrin committed Nov 21, 2023
1 parent 494e99a commit e562b60
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class MessageResponseDto {
private String roomId;
private String receiver;
private String message;
private String createdAt; // (채팅방 조회시) 메세지 마지막 전송 시각
private String lastMessageSentTime; // (채팅방 조회시) 메세지 마지막 전송 시각

// 채팅방 생성
public MessageResponseDto(Room room) {
Expand Down Expand Up @@ -46,6 +46,6 @@ public void setLatestMessageContent(String message) {
}

public void setLatestMessageCreatedAt(String createdAt) {
this.createdAt = createdAt;
this.lastMessageSentTime = createdAt;
}
}

0 comments on commit e562b60

Please sign in to comment.