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
Allow html5 user to join in any breakout room #5827
Allow html5 user to join in any breakout room #5827
Conversation
} | ||
return ''; | ||
}; | ||
const getBreakouts = () => Breakouts.find().fetch().sort((a, b) => a.sequence > b.sequence); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you can sort without fetch()
-- https://docs.mongodb.com/manual/reference/method/cursor.sort/
// leave main room's audio when joining a breakout room | ||
AudioService.exitAudio(); | ||
|
||
window.open(breakoutURL); | ||
window.open(url); | ||
mountModal(null); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line break
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, works well! 👏 @Tainan404
Closes #5562.