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(notifications) Change moderation notifications to medium (#11262)

Robert Pintilii00092d5139ea
diff --git a/react/features/av-moderation/middleware.js b/react/features/av-moderation/middleware.js
index 927f0385a2..95e9f7e6fa 100644
--- a/react/features/av-moderation/middleware.js
+++ b/react/features/av-moderation/middleware.js
@@ -107,7 +107,7 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {
sticky: true,
titleKey,
uid
- }, NOTIFICATION_TIMEOUT_TYPE.STICKY));
+ }, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
break;
}
@@ -223,7 +223,7 @@ StateListenerRegistry.register(
sticky: true,
customActionNameKey: [ 'notify.unmute' ],
customActionHandler: [ () => dispatch(muteLocal(false, MEDIA_TYPE.AUDIO)) ]
- }, NOTIFICATION_TIMEOUT_TYPE.STICKY));
+ }, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
dispatch(playSound(ASKED_TO_UNMUTE_SOUND_ID));
}
});
diff --git a/react/features/base/participants/actions.js b/react/features/base/participants/actions.js
index 0f0c395146..a6386fa8d4 100644
--- a/react/features/base/participants/actions.js
+++ b/react/features/base/participants/actions.js
@@ -479,7 +479,7 @@ export function participantMutedUs(participant, track) {
titleArguments: {
participantDisplayName: getParticipantDisplayName(getState, participant.getId())
}
- }, NOTIFICATION_TIMEOUT_TYPE.LONG));
+ }, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
};
}