Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(rn,breakout-rooms) wait for the room to be left
Saúl Ibarra Corretgébe53c4c522fc
diff --git a/react/features/breakout-rooms/actions.js b/react/features/breakout-rooms/actions.jsindex d684f6e45a..c6652d7042 100644--- a/react/features/breakout-rooms/actions.js+++ b/react/features/breakout-rooms/actions.js@@ -184,20 +184,21 @@ export function moveToRoom(roomId?: string) {const { audio, video } = getState()['features/base/media'];dispatch(conferenceWillLeave(conference));- conference.leave()- .catch(error => {- logger.warn(- 'JitsiConference.leave() rejected with:',- error);- dispatch(conferenceLeft(conference));- });- dispatch(clearNotifications());+ conference.leave()+ .catch(error => {+ logger.warn('JitsiConference.leave() rejected with:', error);- // dispatch(setRoom(_roomId));- dispatch(createConference(_roomId));- dispatch(setAudioMuted(audio.muted));- dispatch(setVideoMuted(video.muted));+ dispatch(conferenceLeft(conference));+ })+ .then(() => {+ dispatch(clearNotifications());++ // dispatch(setRoom(_roomId));+ dispatch(createConference(_roomId));+ dispatch(setAudioMuted(audio.muted));+ dispatch(setVideoMuted(video.muted));+ });} else {APP.conference.leaveRoom(false /* doDisconnect */).finally(() => APP.conference.joinRoom(_roomId));