Skip to content

Commit

Permalink
Merge pull request #511 from H2-invent/hotfix/star-breakoutrooms
Browse files Browse the repository at this point in the history
fix ready to close when laving to breaktouroom
  • Loading branch information
holzi1005 authored Feb 6, 2024
2 parents 4ad1011 + 114760e commit 364ed37
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions assets/js/lobbyParticipant.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,20 @@ function initJitsiMeet(data) {
api.executeCommand('toggleE2EE', true);
}
}
api.addListener('readyToClose', function (e) {
leaveMeeting();
initStarSend();
api = null;
api.addListener('participantKickedOut', function (e) {
if (e.kicked.local){
leaveMeeting();
initStarSend();
api = null;
}

});

api.addListener('readyToClose', function (e) {
leaveMeeting();
initStarSend();
api = null;
});
if (setTileview === 1) {
api.executeCommand('setTileView', {enabled: true});
}
Expand Down

0 comments on commit 364ed37

Please sign in to comment.