라이브 방 - 크리에이터 입장 가능 설정 추가 #179

Merged
klaus merged 5 commits from test into main 2024-05-14 12:09:53 +00:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit fc6916fc2d - Show all commits

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) {