Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: participant join notifications

Shawn8fa22ce059d8
diff --git a/react/features/notifications/actions.js b/react/features/notifications/actions.js
index b565eee0eb..d74a5d43cf 100644
--- a/react/features/notifications/actions.js
+++ b/react/features/notifications/actions.js
@@ -293,7 +293,7 @@ const _throttledNotifyParticipantLeft = throttle((dispatch: Dispatch<any>, getSt
* @returns {Function}
*/
export function showParticipantJoinedNotification(displayName: string) {
- leftParticipantsNames.push(displayName);
+ joinedParticipantsNames.push(displayName);
return (dispatch: Dispatch<any>, 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<any>, getState: Function) => _throttledNotifyParticipantLeft(dispatch, getState);
}