Skip to content

Commit

Permalink
Merge pull request #63 from oven-2023/feature/chat
Browse files Browse the repository at this point in the history
fix: edit message sender
  • Loading branch information
haen-su authored Nov 8, 2023
2 parents 9a4becd + 052edf6 commit 30bf9f5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public EnterChatroomResponse enterChatroom(User user, Long chatroomId) {
.content(message.getContent())
.isSender(message.getSender().getId().equals(user.getId()))
.sendTime(message.getCreatedAt())
.sender(message.getSender().getNickname())
.build()
)
.collect(Collectors.toList())
Expand Down

0 comments on commit 30bf9f5

Please sign in to comment.