라이브 방 정보 - 방 나가기 로직 수정
This commit is contained in:
parent
5a56990d0b
commit
3c09047371
|
@ -875,7 +875,7 @@ class LiveRoomService(
|
|||
val roomInfo = roomInfoRepository.findByIdOrNull(roomId)
|
||||
if (roomInfo != null) {
|
||||
val room = repository.getLiveRoom(roomId) ?: return
|
||||
if (room.member != null && room.member!! == member) {
|
||||
if (room.member != null && room.member!!.id!! == member.id!!) {
|
||||
room.isActive = false
|
||||
kickOutService.deleteKickOutData(roomId = room.id!!)
|
||||
roomInfoRepository.deleteById(roomInfo.roomId)
|
||||
|
|
Loading…
Reference in New Issue