라이브 방 정보 - 룰렛 사용 여부 추가
This commit is contained in:
parent
cae9f22e49
commit
6b90f42a0e
|
@ -662,6 +662,8 @@ class LiveRoomService(
|
|||
.getNotificationUserIds(room.member!!.id!!)
|
||||
.contains(member.id)
|
||||
|
||||
val isActiveRoulette = rouletteRepository.findByIdOrNull(room.member!!.id!!)?.isActive ?: false
|
||||
|
||||
val donationRankingTop3UserIds = if (room.member!!.isVisibleDonationRank) {
|
||||
explorerQueryRepository
|
||||
.getMemberDonationRanking(
|
||||
|
@ -712,7 +714,8 @@ class LiveRoomService(
|
|||
managerList = roomInfo.managerList,
|
||||
donationRankingTop3UserIds = donationRankingTop3UserIds,
|
||||
isPrivateRoom = room.type == LiveRoomType.PRIVATE,
|
||||
password = room.password
|
||||
password = room.password,
|
||||
isActiveRoulette = isActiveRoulette
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -20,5 +20,6 @@ data class GetRoomInfoResponse(
|
|||
val managerList: List<LiveRoomMember>,
|
||||
val donationRankingTop3UserIds: List<Long>,
|
||||
val isPrivateRoom: Boolean = false,
|
||||
val password: String? = null
|
||||
val password: String? = null,
|
||||
val isActiveRoulette: Boolean = false
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue