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.
|
* from Redux.
|
||||||
* @returns {Function}
|
* @returns {Function}
|
||||||
*/
|
*/
|
||||||
export function createConference(overrideRoom?: string) {
|
export function createConference(overrideRoom?: string | String) {
|
||||||
return (dispatch: IStore['dispatch'], getState: IStore['getState']) => {
|
return (dispatch: IStore['dispatch'], getState: IStore['getState']) => {
|
||||||
const state = getState();
|
const state = getState();
|
||||||
const { connection, locationURL } = state['features/base/connection'];
|
const { connection, locationURL } = state['features/base/connection'];
|
||||||
|
|
|
@ -215,9 +215,7 @@ export function moveToRoom(roomId?: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatch(clearNotifications());
|
dispatch(clearNotifications());
|
||||||
|
dispatch(createConference(_roomId));
|
||||||
// dispatch(setRoom(_roomId));
|
|
||||||
dispatch(createConference(_roomId?.toString()));
|
|
||||||
dispatch(setAudioMuted(audio.muted));
|
dispatch(setAudioMuted(audio.muted));
|
||||||
dispatch(setVideoMuted(Boolean(video.muted)));
|
dispatch(setVideoMuted(Boolean(video.muted)));
|
||||||
dispatch(createDesiredLocalTracks());
|
dispatch(createDesiredLocalTracks());
|
||||||
|
|
Loading…
Reference in New Issue