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
fix: Fixes showing user region.
Дамян Минков6682167800bd
diff --git a/react/features/base/participants/middleware.js b/react/features/base/participants/middleware.jsindex 5e6c459a25..47d38d2001 100644--- a/react/features/base/participants/middleware.js+++ b/react/features/base/participants/middleware.js@@ -289,6 +289,12 @@ StateListenerRegistry.register(})),'raisedHand': (participant, value) =>_raiseHandUpdated(store, conference, participant.getId(), value),+ 'region': (participant, value) =>+ store.dispatch(participantUpdated({+ conference,+ id: participant.getId(),+ region: value+ })),'remoteControlSessionStatus': (participant, value) =>store.dispatch(participantUpdated({conference,diff --git a/react/features/connection-indicator/components/web/ConnectionIndicatorContent.js b/react/features/connection-indicator/components/web/ConnectionIndicatorContent.jsindex 995d1a273c..aed01f2a3d 100644--- a/react/features/connection-indicator/components/web/ConnectionIndicatorContent.js+++ b/react/features/connection-indicator/components/web/ConnectionIndicatorContent.js@@ -91,6 +91,11 @@ type Props = AbstractProps & {*/_onSaveLogs: Function,+ /**+ * The region reported by the participant.+ */+ _region: String,+/*** The video SSRC of this client.*/@@ -171,7 +176,6 @@ class ConnectionIndicatorContent extends AbstractConnectionIndicator<Props, Statframerate,maxEnabledResolution,packetLoss,- region,resolution,serverRegion,transport@@ -195,7 +199,7 @@ class ConnectionIndicatorContent extends AbstractConnectionIndicator<Props, StatonShowMore = { this._onToggleShowMore }packetLoss = { packetLoss }participantId = { this.props.participantId }- region = { region }+ region = { this.props._region }resolution = { resolution }serverRegion = { serverRegion }shouldShowMore = { this.state.showMoreStats }@@ -310,7 +314,8 @@ export function _mapStateToProps(state: Object, ownProps: Props) {_connectionStatus: participant?.connectionStatus,_enableSaveLogs: state['features/base/config'].enableSaveLogs,_disableShowMoreStats: state['features/base/config'].disableShowMoreStats,- _isLocalVideo: participant?.local+ _isLocalVideo: participant?.local,+ _region: participant?.region};if (conference) {