From e8bd75b2d1e90572432d28726da84912eb79ba0a Mon Sep 17 00:00:00 2001 From: Werner Fleischer <70745309+wernf@users.noreply.github.com> Date: Tue, 10 Jan 2023 11:36:37 +0100 Subject: [PATCH] fix(breakout-room, rn): joining room --- react/features/base/conference/actions.ts | 2 +- react/features/breakout-rooms/actions.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/react/features/base/conference/actions.ts b/react/features/base/conference/actions.ts index 3932b3803..38de3cb19 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 8ad70612f..204399ce2 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());