fix(breakout-room, rn): joining room
This commit is contained in:
parent
46f1cb7b4b
commit
e8bd75b2d1
|
@ -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'];
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue