Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reassigning attendees in breakout room removes everyone from the room #11920

Open
Antreesy opened this issue Mar 25, 2024 · 0 comments
Open

Reassigning attendees in breakout room removes everyone from the room #11920

Antreesy opened this issue Mar 25, 2024 · 0 comments
Labels
Milestone

Comments

@Antreesy
Copy link
Contributor

To reproduce:

  • Alice is in call in room 1
  • Moderator reassign participants, keeping Alice in room 1
  • Alice gets page-not-found

When checking system messages, everyone got removed from BR, then only selected participants are added back.

Looks like $removals on API side are not filled correctly.

foreach ($breakoutRooms as $breakoutRoom) {
$breakoutRoomParticipants = $this->participantService->getParticipantsForRoom($breakoutRoom);
foreach ($breakoutRoomParticipants as $participant) {
$attendee = $participant->getAttendee();
if ($attendee->getActorType() === Attendee::ACTOR_USERS && in_array($attendee->getActorId(), $userIds, true)) {
if ($participant->hasModeratorPermissions()) {
// Can not remove moderators with this method
throw new InvalidArgumentException('moderator');
}
$removals[] = [
'room' => $breakoutRoom,
'participant' => $participant,
];
}
}
}

Originally posted by @Antreesy in #11649 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants