라이브 - 방장이 아닌 사용자가 유저 차단 시 라이브에서 강퇴되는 버그 수정
This commit is contained in:
parent
720df22df5
commit
ead7aa3011
|
@ -549,9 +549,11 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
|
||||||
dialog.setPositiveButton("차단") { _, _ ->
|
dialog.setPositiveButton("차단") { _, _ ->
|
||||||
roomUserProfileDialog.dismiss()
|
roomUserProfileDialog.dismiss()
|
||||||
viewModel.memberBlock(userId) {
|
viewModel.memberBlock(userId) {
|
||||||
|
if (viewModel.roomInfoResponse.creatorId == SharedPreferenceManager.userId) {
|
||||||
kickOut(userId)
|
kickOut(userId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
dialog.setNegativeButton("취소") { _, _ -> }
|
dialog.setNegativeButton("취소") { _, _ -> }
|
||||||
dialog.show()
|
dialog.show()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue