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-room, rn): joining room

Werner Fleischere8bd75b2d1e9
diff --git a/react/features/base/conference/actions.ts b/react/features/base/conference/actions.ts
index 3932b3803d..38de3cb19c 100644
--- a/react/features/base/conference/actions.ts
+++ b/react/features/base/conference/actions.ts
@@ -501,7 +501,7 @@ export function conferenceWillLeave(conference: IJitsiConference) {
* from Redux.
* @returns {Function}
*/
-export function createConference(overrideRoom?: string) {
+export function createConference(overrideRoom?: string | String) {
return (dispatch: IStore['dispatch'], getState: IStore['getState']) => {
const state = getState();
const { connection, locationURL } = state['features/base/connection'];
diff --git a/react/features/breakout-rooms/actions.ts b/react/features/breakout-rooms/actions.ts
index 8ad70612fd..204399ce22 100644
--- a/react/features/breakout-rooms/actions.ts
+++ b/react/features/breakout-rooms/actions.ts
@@ -215,9 +215,7 @@ export function moveToRoom(roomId?: string) {
}
dispatch(clearNotifications());
-
- // dispatch(setRoom(_roomId));
- dispatch(createConference(_roomId?.toString()));
+ dispatch(createConference(_roomId));
dispatch(setAudioMuted(audio.muted));
dispatch(setVideoMuted(Boolean(video.muted)));
dispatch(createDesiredLocalTracks());