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(contact-list): call getAvatarURL directly
Leonard Kim4b2795502c0e
diff --git a/react/features/contact-list/components/ContactListPanel.web.js b/react/features/contact-list/components/ContactListPanel.web.jsindex bf05e80e87..f36dca4776 100644--- a/react/features/contact-list/components/ContactListPanel.web.js+++ b/react/features/contact-list/components/ContactListPanel.web.js@@ -2,10 +2,8 @@ import Button from '@atlaskit/button';import React, { Component } from 'react';import { connect } from 'react-redux';-import Avatar from '../../../../modules/UI/avatar/Avatar';-import { translate } from '../../base/i18n';-import { getParticipants } from '../../base/participants';+import { getAvatarURL, getParticipants } from '../../base/participants';import { openInviteDialog } from '../../invite';import ContactListItem from './ContactListItem';@@ -114,15 +112,18 @@ class ContactListPanel extends Component {* @returns {ReactElement[]}*/_renderContacts() {- return this.props._participants.map(({ avatarId, id, name }) =>- ( // eslint-disable-line no-extra-parens+ return this.props._participants.map(participant => {+ const { id, name } = participant;++ return (<ContactListItemavatarURI = { interfaceConfig.SHOW_CONTACTLIST_AVATARS- ? Avatar.getAvatarUrl(avatarId) : null }+ ? getAvatarURL(participant) : null }id = { id }key = { id }name = { name } />- ));+ );+ });}/**