라이브 방 - 크리에이터 입장 가능 설정 추가 #179
@@ -351,6 +351,10 @@ class ExplorerQueryRepository(
|
|||||||
where = where.and(liveRoom.isAdult.isFalse)
|
where = where.and(liveRoom.isAdult.isFalse)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (userMember.role == MemberRole.CREATOR) {
|
||||||
|
where = where.and(liveRoom.isAvailableJoinCreator.isTrue)
|
||||||
|
}
|
||||||
|
|
||||||
val result = mutableListOf<LiveRoom>()
|
val result = mutableListOf<LiveRoom>()
|
||||||
|
|
||||||
if (offset == 0L) {
|
if (offset == 0L) {
|
||||||
|
|||||||
Reference in New Issue
Block a user