fix(Avatar): Calculate avatar color based on display name

This commit is contained in:
Vlad Piersec 2021-11-08 11:32:21 +02:00 committed by vp8x8
parent 3c5017a66a
commit 08fb232627
1 changed files with 1 additions and 1 deletions

View File

@ -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
};
}