Skip to content

Commit

Permalink
Merge branch 'feature/alarm-update' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeongh00 committed Jan 28, 2024
2 parents 6ff303d + fd00412 commit 4468c19
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,14 @@ public void sendReCommentNotification(SendCommentNotificationRequest request) {
Comment parentComment = commentQueryService.getCommentById(comment.getParentId());
Member commentMember = parentComment.getWriter();

members.add(noticeMember);
members.add(commentMember);

if (noticeMember.getId().equals(commentMember.getId())) {
members.add(noticeMember);
} else {
members.add(noticeMember);
members.add(commentMember);
}

Notification notification = Notification.builder()
.setTitle(COMMENT_TITLE)
.setBody(request.content())
Expand Down

0 comments on commit 4468c19

Please sign in to comment.