Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(e2ee) don't display E2EE verified field until final

Saúl Ibarra Corretgé437ed46349d3
diff --git a/react/features/connection-indicator/components/web/ConnectionIndicatorContent.tsx b/react/features/connection-indicator/components/web/ConnectionIndicatorContent.tsx
index e0b7c4f6ec..eddddfccd0 100644
--- a/react/features/connection-indicator/components/web/ConnectionIndicatorContent.tsx
+++ b/react/features/connection-indicator/components/web/ConnectionIndicatorContent.tsx
@@ -96,7 +96,7 @@ interface IProps extends AbstractProps, WithTranslation {
_isConnectionStatusInterrupted: boolean;
- _isE2EEVerified: boolean;
+ _isE2EEVerified?: boolean;
/**
* Whether or not the displays stats are for local video.
@@ -364,7 +364,7 @@ export function _mapStateToProps(state: IReduxState, ownProps: any) {
_enableSaveLogs: Boolean(state['features/base/config'].enableSaveLogs),
_isConnectionStatusInactive,
_isConnectionStatusInterrupted,
- _isE2EEVerified: Boolean(participant?.e2eeVerified),
+ _isE2EEVerified: participant?.e2eeVerified,
_isNarrowLayout: isNarrowLayout,
_isVirtualScreenshareParticipant: isScreenShareParticipant(participant),
_isLocalVideo: Boolean(participant?.local),
diff --git a/react/features/connection-stats/components/ConnectionStatsTable.tsx b/react/features/connection-stats/components/ConnectionStatsTable.tsx
index b8e98129eb..7fd7474a90 100644
--- a/react/features/connection-stats/components/ConnectionStatsTable.tsx
+++ b/react/features/connection-stats/components/ConnectionStatsTable.tsx
@@ -71,7 +71,7 @@ interface IProps {
/**
* Whether or not the participant was verified.
*/
- e2eeVerified: boolean;
+ e2eeVerified?: boolean;
/**
* Whether to enable assumed bandwidth.