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
participants: skip local participant join notification
Saúl Ibarra Corretgé186ba70cb734
diff --git a/react/features/base/participants/actions.js b/react/features/base/participants/actions.jsindex 775e0cc50a..bf585ef8ef 100644--- a/react/features/base/participants/actions.js+++ b/react/features/base/participants/actions.js@@ -1,5 +1,3 @@-/* global interfaceConfig */-import throttle from 'lodash/throttle';import { set } from '../redux';@@ -517,8 +515,7 @@ const _throttledNotifyParticipantConnected = throttle(dispatch => {* @returns {Function}*/export function showParticipantJoinedNotification(displayName) {- joinedParticipantsNames.push(- displayName || interfaceConfig.DEFAULT_REMOTE_DISPLAY_NAME);+ joinedParticipantsNames.push(displayName);return dispatch => _throttledNotifyParticipantConnected(dispatch);}diff --git a/react/features/base/participants/middleware.js b/react/features/base/participants/middleware.jsindex 16befa7e00..e5e0ec4197 100644--- a/react/features/base/participants/middleware.js+++ b/react/features/base/participants/middleware.js@@ -118,10 +118,10 @@ MiddlewareRegistry.register(store => next => action => {case PARTICIPANT_JOINED: {_maybePlaySounds(store, action);- const { participant: { name } } = action;+ const { participant: p } = action;- if (name) {- store.dispatch(showParticipantJoinedNotification(name));+ if (!p.local) {+ store.dispatch(showParticipantJoinedNotification(getParticipantDisplayName(store.getState, p.id)));}return _participantJoinedOrUpdated(store, next, action);