Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(breakout-rooms) fix not waiting to leave the room

Saúl Ibarra Corretgéae3fb20d654a
diff --git a/react/features/breakout-rooms/actions.js b/react/features/breakout-rooms/actions.js
index 61d216461f..107defb0e4 100644
--- a/react/features/breakout-rooms/actions.js
+++ b/react/features/breakout-rooms/actions.js
@@ -218,7 +218,7 @@ export function moveToRoom(roomId?: string) {
dispatch(setVideoMuted(video.muted));
} else {
try {
- APP.conference.leaveRoom(false /* doDisconnect */);
+ await APP.conference.leaveRoom(false /* doDisconnect */);
} catch (error) {
logger.warn('APP.conference.leaveRoom() rejected with:', error);