fix(block-member): 양방향 차단 관계의 댓글·응원·콘텐츠 노출을 차단한다

This commit is contained in:
2026-02-23 14:08:23 +09:00
parent 07fb6202a8
commit cc74628107
28 changed files with 528 additions and 155 deletions

View File

@@ -53,6 +53,7 @@ class LiveApiService(
val latestFinishedLiveList = liveService.getLatestFinishedLive(member)
val replayLive = contentService.getLatestContentByTheme(
memberId = memberId,
theme = listOf("다시듣기"),
contentType = contentType,
isFree = false,
@@ -60,7 +61,8 @@ class LiveApiService(
)
.filter { content ->
if (memberId != null) {
!blockMemberRepository.isBlocked(blockedMemberId = memberId, memberId = content.creatorId)
!blockMemberRepository.isBlocked(blockedMemberId = memberId, memberId = content.creatorId) &&
!blockMemberRepository.isBlocked(blockedMemberId = content.creatorId, memberId = memberId)
} else {
true
}