Skip to content

Commit

Permalink
🐛 :: 읽음 처리 버그 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
jyk1029 committed Nov 20, 2023
1 parent 0e94738 commit 9b53cdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data class RoomResponse(
roomId = room.id,
lastChat = room.lastText,
lastSendAt = room.lastSendAt,
isRead = room.lastSendAt.isBefore(roomUser.lastReadAt),
isRead = room.lastSendAt.isBefore(roomUser.lastReadAt) or room.lastSendAt.isEqual(roomUser.lastReadAt),
roomName = userB.name,
userProfile = userB.profile
)
Expand Down

0 comments on commit 9b53cdc

Please sign in to comment.