라이브 - 방장이 아닌 사용자가 유저 차단 시 라이브에서 강퇴되는 버그 수정

This commit is contained in:
Yu Sung
2023-11-21 14:20:01 +09:00
parent 6cbd4edacc
commit 823bd8e92d
2 changed files with 17 additions and 8 deletions

View File

@@ -597,7 +597,12 @@ struct LiveRoomView: View {
UserBlockConfirmDialogView(
isShowing: $viewModel.isShowUesrBlockConfirm,
nickname: viewModel.reportUserNickname,
confirmAction: { viewModel.userBlock() }
confirmAction: {
viewModel.userBlock { userId in
viewModel.kickOutId = userId
viewModel.kickOut()
}
}
)
}