Update SelectRandomViewerReqMsgHdlr.scala

This commit is contained in:
hiroshisuga 2023-07-06 10:14:08 +09:00 committed by GitHub
parent 5e7a51fef7
commit 4ba826c6aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ trait SelectRandomViewerReqMsgHdlr extends RightsManagementTrait {
val pickedUser = if (usersPicked.size == 0) "" else usersPicked(randNum.nextInt(usersPicked.size)).intId
if (reduceDuplicatedPick) {
if (usersPicked.size == 1) {
if (usersPicked.size <= 1) {
// Initialise the exemption
val usersToUnexempt = Users2x.findAll(liveMeeting.users2x)
usersToUnexempt foreach { u =>