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(Avatar): Calculate avatar color based on display name

Vlad Piersec08fb23262701
diff --git a/react/features/base/avatar/components/Avatar.js b/react/features/base/avatar/components/Avatar.js
index fadf551532..31bbe85b7e 100644
--- a/react/features/base/avatar/components/Avatar.js
+++ b/react/features/base/avatar/components/Avatar.js
@@ -220,7 +220,7 @@ export function _mapStateToProps(state: Object, ownProps: Props) {
_customAvatarBackgrounds: state['features/dynamic-branding'].avatarBackgrounds,
_initialsBase,
_loadableAvatarUrl: _participant?.loadableAvatarUrl,
- colorBase: !colorBase && _participant ? _participant.id : colorBase
+ colorBase
};
}