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
feat: Updates the local stats to match remote for 'connected to'.
damenchofa39c1076669
diff --git a/react/features/base/participants/middleware.js b/react/features/base/participants/middleware.jsindex 9ba3130ac5..dfede63178 100644--- a/react/features/base/participants/middleware.js+++ b/react/features/base/participants/middleware.js@@ -25,6 +25,7 @@ import {forEachConference,getCurrentConference} from '../conference';+import { SET_CONFIG } from '../config';import { getDisableRemoveRaisedHandOnFocus } from '../config/functions.any';import { JitsiConferenceEvents } from '../lib-jitsi-meet';import { MEDIA_TYPE } from '../media';@@ -177,6 +178,26 @@ MiddlewareRegistry.register(store => next => action => {break;}+ case SET_CONFIG: {+ const result = next(action);++ const state = store.getState();+ const { deploymentInfo } = state['features/base/config'];++ // if there userRegion set let's use it for the local participant+ if (deploymentInfo && deploymentInfo.userRegion) {+ const localId = getLocalParticipant(state)?.id;++ store.dispatch(participantUpdated({+ id: localId,+ local: true,+ region: deploymentInfo.userRegion+ }));+ }++ return result;+ }+case SET_LOCAL_PARTICIPANT_RECORDING_STATUS: {const state = store.getState();const { recording, onlySelf } = action;