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
fix(notifications) don't show self view notifications if already one is active
bogdandarie495957104c22
diff --git a/react/features/notifications/constants.ts b/react/features/notifications/constants.tsindex 6780875fa1..bb05e037a3 100644--- a/react/features/notifications/constants.ts+++ b/react/features/notifications/constants.ts@@ -56,6 +56,13 @@ export const NOTIFICATION_ICON = {PARTICIPANTS: 'participants'};+/**+ * The identifier of the disable self view notification.+ *+ * @type {string}+ */+export const DISABLE_SELF_VIEW_NOTIFICATION_ID = 'DISABLE_SELF_VIEW_NOTIFICATION_ID';+/*** The identifier of the lobby notification.*diff --git a/react/features/settings/middleware.web.js b/react/features/settings/middleware.web.jsindex ce0f413539..d83138e4e3 100644--- a/react/features/settings/middleware.web.js+++ b/react/features/settings/middleware.web.js@@ -1,6 +1,6 @@import { MiddlewareRegistry } from '../base/redux';import { SETTINGS_UPDATED, getHideSelfView } from '../base/settings';-import { NOTIFICATION_TIMEOUT_TYPE, showNotification } from '../notifications';+import { DISABLE_SELF_VIEW_NOTIFICATION_ID, NOTIFICATION_TIMEOUT_TYPE, showNotification } from '../notifications';import { openSettingsDialog } from './actions';import { SETTINGS_TABS } from './constants';@@ -16,6 +16,7 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {if (newValue !== oldValue && newValue) {dispatch(showNotification({+ uid: DISABLE_SELF_VIEW_NOTIFICATION_ID,titleKey: 'notify.selfViewTitle',customActionNameKey: [ 'settings.title' ],customActionHandler: [ () =>