Skip to content

Commit

Permalink
Merge pull request #61 from Team-Wable/fix/#60
Browse files Browse the repository at this point in the history
[FIX] 대댓글 알림 로직 수정
  • Loading branch information
Hong0329 authored Nov 26, 2024
2 parents f0c0270 + f988ef1 commit 83ba739
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public void postCommentWithParentChildComment(Long memberId, Long contentId, Com
}else { //대댓글의 경우
Member parentCommentWriter = memberRepository.findMemberByIdOrThrow(commentPostRequestDtoVer2.parentCommentWriterId());

if(!usingMember.equals(contentWritingMember)) {
if(!usingMember.equals(contentWritingMember)&&!usingMember.equals(parentCommentWriter)) {
Notification notification = Notification.builder()
.notificationTargetMember(parentCommentWriter)
.notificationTriggerMemberId(usingMember.getId())
Expand Down

0 comments on commit 83ba739

Please sign in to comment.