크리에이터 채널 라이브 리스트

- 입장 가능한 라이브만 조회되도록 수정
This commit is contained in:
Klaus 2024-05-14 17:46:51 +09:00
parent c63949992f
commit fc6916fc2d
1 changed files with 4 additions and 0 deletions

View File

@ -351,6 +351,10 @@ class ExplorerQueryRepository(
where = where.and(liveRoom.isAdult.isFalse)
}
if (userMember.role == MemberRole.CREATOR) {
where = where.and(liveRoom.isAvailableJoinCreator.isTrue)
}
val result = mutableListOf<LiveRoom>()
if (offset == 0L) {