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(AbstractNotificationsContainer): broken timeouts chain
paweldomas64f8a8d70097
diff --git a/react/features/notifications/components/AbstractNotificationsContainer.js b/react/features/notifications/components/AbstractNotificationsContainer.jsindex 276b00a09e..998b86dde8 100644--- a/react/features/notifications/components/AbstractNotificationsContainer.js+++ b/react/features/notifications/components/AbstractNotificationsContainer.js@@ -142,7 +142,13 @@ export default class AbstractNotificationsContainer<P: Props>* @returns {void}*/_onDismissed(uid) {- this._clearNotificationDismissTimeout();+ const { _notifications } = this.props;++ // Clear the timeout only if it's the top notification that's being+ // dismissed (the timeout is set only for the top one).+ if (!_notifications.length || _notifications[0].uid === uid) {+ this._clearNotificationDismissTimeout();+ }this.props.dispatch(hideNotification(uid));}