|
@@ -515,14 +515,7 @@ export function createVirtualScreenshareParticipant(sourceName, local) {
|
515
|
515
|
return (dispatch, getState) => {
|
516
|
516
|
const state = getState();
|
517
|
517
|
const ownerId = getVirtualScreenshareParticipantOwnerId(sourceName);
|
518
|
|
- const owner = getParticipantById(state, ownerId);
|
519
|
|
- const ownerName = owner.name;
|
520
|
|
-
|
521
|
|
- if (!ownerName) {
|
522
|
|
- logger.error(`Failed to create a screenshare participant for sourceName: ${sourceName}`);
|
523
|
|
-
|
524
|
|
- return;
|
525
|
|
- }
|
|
518
|
+ const ownerName = getParticipantDisplayName(state, ownerId);
|
526
|
519
|
|
527
|
520
|
dispatch(participantJoined({
|
528
|
521
|
conference: state['features/base/conference'].conference,
|