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
feat(notifications) make sticky notifications duration configurable
Saúl Ibarra Corretgéa99e122801c0
diff --git a/config.js b/config.jsindex 4249238df3..12d1f16029 100644--- a/config.js+++ b/config.js@@ -613,6 +613,7 @@ var config = {// medium: 5000,// long: 10000,// extraLong: 60000,+ // sticky: 0,// },// // Options for the recording limit notification.diff --git a/react/features/base/config/configType.ts b/react/features/base/config/configType.tsindex 4c8d16b78f..5d7296d18a 100644--- a/react/features/base/config/configType.ts+++ b/react/features/base/config/configType.ts@@ -489,6 +489,7 @@ export interface IConfig {long?: number;medium?: number;short?: number;+ sticky?: number;};notifications?: Array<string>;notifyOnConferenceDestruction?: boolean;diff --git a/react/features/notifications/actions.ts b/react/features/notifications/actions.tsindex 9fc37c2319..7aa7591acf 100644--- a/react/features/notifications/actions.ts+++ b/react/features/notifications/actions.ts@@ -38,9 +38,11 @@ function getNotificationTimeout(type?: string, notificationTimeouts?: IConfig['nreturn notificationTimeouts?.long ?? NOTIFICATION_TIMEOUT.LONG;} else if (type === NOTIFICATION_TIMEOUT_TYPE.EXTRA_LONG) {return notificationTimeouts?.extraLong ?? NOTIFICATION_TIMEOUT.EXTRA_LONG;+ } else if (type === NOTIFICATION_TIMEOUT_TYPE.STICKY) {+ return notificationTimeouts?.sticky ?? NOTIFICATION_TIMEOUT.STICKY;}- return NOTIFICATION_TIMEOUT.STICKY;+ return 0;}/**