Skip to content

Commit

Permalink
Merge pull request bigbluebutton#9691 from jfsiebel/fix-breakout-room…
Browse files Browse the repository at this point in the history
…-logout

Close tab when user logout from a breakout room
  • Loading branch information
antobinary authored May 26, 2020
2 parents 73715d1 + 1f8cae0 commit 1c6841d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bigbluebutton-html5/imports/startup/client/base.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ class Base extends Component {
return (<MeetingEnded code="403" />);
}

if (meetingHasEnded && meetingIsBreakout) window.close();
if ((meetingHasEnded || User.loggedOut) && meetingIsBreakout) {
window.close();
return null;
}

if (((meetingHasEnded && !meetingIsBreakout)) || (codeError && (User && User.loggedOut))) {
AudioManager.exitAudio();
Expand Down

0 comments on commit 1c6841d

Please sign in to comment.