From 8fa22ce059d885ef7644bdeeee5abab567a4c038 Mon Sep 17 00:00:00 2001 From: Shawn Date: Wed, 15 Dec 2021 19:22:09 +0000 Subject: [PATCH] fix: participant join notifications --- react/features/notifications/actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }