Skip to content

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

feat(connection-table): e2ee verified changes

Hristo Terezovaa3a8f24b801
diff --git a/lang/main.json b/lang/main.json
index 4c4b9d494c..d77d63b443 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -156,6 +156,7 @@
"localport_plural": "Local ports:",
"maxEnabledResolution": "send max",
"more": "Show more",
+ "no": "no",
"packetloss": "Packet loss:",
"participant_id": "Participant id:",
"quality": {
@@ -174,7 +175,8 @@
"status": "Connection:",
"transport": "Transport:",
"transport_plural": "Transports:",
- "video_ssrc": "Video SSRC:"
+ "video_ssrc": "Video SSRC:",
+ "yes": "yes"
},
"dateUtils": {
"earlier": "Earlier",
diff --git a/react/features/connection-stats/components/ConnectionStatsTable.tsx b/react/features/connection-stats/components/ConnectionStatsTable.tsx
index 24118e0139..ba91dc8f84 100644
--- a/react/features/connection-stats/components/ConnectionStatsTable.tsx
+++ b/react/features/connection-stats/components/ConnectionStatsTable.tsx
@@ -548,6 +548,21 @@ const ConnectionStatsTable = ({
</tr>
);
+ const _renderE2EEVerified = () => {
+ if (e2eeVerified === undefined) {
+ return;
+ }
+
+ return (
+ <tr>
+ <td>
+ <span>{t('connectionindicator.e2eeVerified')}</span>
+ </td>
+ <td>{t(`connectionindicator.${e2eeVerified ? 'yes' : 'no'}`)}</td>
+ </tr>
+ );
+ };
+
const _renderAdditionalStats = () => (
<table>
<tbody>
@@ -558,6 +573,7 @@ const ConnectionStatsTable = ({
{_renderAudioSsrc()}
{_renderVideoSsrc()}
{_renderParticipantId()}
+ {_renderE2EEVerified()}
</tbody>
</table>
);
@@ -608,23 +624,6 @@ const ConnectionStatsTable = ({
);
};
- const _renderE2EEVerified = () => {
- if (e2eeVerified === undefined) {
- return;
- }
-
- const status = e2eeVerified ? '\u{2705}' : '\u{274C}';
-
- return (
- <tr>
- <td>
- <span>{t('connectionindicator.e2eeVerified')}</span>
- </td>
- <td>{status}</td>
- </tr>
- );
- };
-
const _renderConnectionSummary = () => (
<tr className = { classes.status }>
<td>
@@ -707,7 +706,6 @@ const ConnectionStatsTable = ({
{_renderResolution()}
{_renderFrameRate()}
{_renderCodecs()}
- {_renderE2EEVerified()}
</tbody>
</table>
);