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(screenshare) use selector for getting screenshare owner display name (#11478)
William Liangf2c3740108b9
diff --git a/react/features/base/participants/functions.js b/react/features/base/participants/functions.jsindex 7246191896..bffcbaec5f 100644--- a/react/features/base/participants/functions.js+++ b/react/features/base/participants/functions.js@@ -298,10 +298,9 @@ export function getParticipantDisplayName(stateful: Object | Function, id: strin* @returns {string}*/export function getScreenshareParticipantDisplayName(stateful: Object | Function, id: string) {- const owner = getParticipantById(stateful, getVirtualScreenshareParticipantOwnerId(id));- const name = owner.name;+ const ownerDisplayName = getParticipantDisplayName(stateful, getVirtualScreenshareParticipantOwnerId(id));- return i18next.t('screenshareDisplayName', { name });+ return i18next.t('screenshareDisplayName', { name: ownerDisplayName });}/**