diff --git a/react/features/notifications/actions.js b/react/features/notifications/actions.js index b565eee0e..d74a5d43c 100644 --- a/react/features/notifications/actions.js +++ b/react/features/notifications/actions.js @@ -293,7 +293,7 @@ const _throttledNotifyParticipantLeft = throttle((dispatch: Dispatch, getSt * @returns {Function} */ export function showParticipantJoinedNotification(displayName: string) { - leftParticipantsNames.push(displayName); + joinedParticipantsNames.push(displayName); return (dispatch: Dispatch, getState: Function) => _throttledNotifyParticipantConnected(dispatch, getState); } @@ -307,7 +307,7 @@ export function showParticipantJoinedNotification(displayName: string) { * @returns {Function} */ export function showParticipantLeftNotification(displayName: string) { - joinedParticipantsNames.push(displayName); + leftParticipantsNames.push(displayName); return (dispatch: Dispatch, getState: Function) => _throttledNotifyParticipantLeft(dispatch, getState); }