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: Hides email when gravatar is disabled or avatar is provided.
damencho2b520cbc4c06
diff --git a/react/features/settings/functions.any.ts b/react/features/settings/functions.any.tsindex 6ebe162208..3099d999c0 100644--- a/react/features/settings/functions.any.ts+++ b/react/features/settings/functions.any.ts@@ -198,9 +198,15 @@ export function getProfileTabProps(stateful: IStateful) {authLogin,conference} = state['features/base/conference'];- const { hideEmailInSettings } = state['features/base/config'];+ const config = state['features/base/config'];+ let { hideEmailInSettings } = config;const localParticipant = getLocalParticipant(state);+ if (config.gravatar?.disabled+ || (localParticipant?.avatarURL && localParticipant?.avatarURL.length > 0)) {+ hideEmailInSettings = true;+ }+return {authEnabled: Boolean(conference && authEnabled),authLogin,