mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-20 12:17:47 +00:00
feat(e2ee): shows E2EESection only when user is moderator
This commit is contained in:
committed by
tmoldovan8x8
parent
093d8f830a
commit
cb2891ead3
@@ -125,6 +125,8 @@ function mapStateToProps(state) {
|
||||
} = state['features/base/conference'];
|
||||
const { roomPasswordNumberOfDigits } = state['features/base/config'];
|
||||
|
||||
const showE2ee = Boolean(e2eeSupported) && isLocalParticipantModerator(state);
|
||||
|
||||
return {
|
||||
_canEditPassword: isLocalParticipantModerator(state),
|
||||
_conference: conference,
|
||||
@@ -132,7 +134,7 @@ function mapStateToProps(state) {
|
||||
_locked: locked,
|
||||
_password: password,
|
||||
_passwordNumberOfDigits: roomPasswordNumberOfDigits,
|
||||
_showE2ee: Boolean(e2eeSupported)
|
||||
_showE2ee: showE2ee
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user