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: Skips notifications for messages from history (the messages on join).
Дамян Минков8d62e010e056
diff --git a/react/features/chat/middleware.js b/react/features/chat/middleware.jsindex 1d91334533..05ce27b8ee 100644--- a/react/features/chat/middleware.js+++ b/react/features/chat/middleware.js@@ -320,7 +320,10 @@ function _handleReceivedMessage({ dispatch, getState },const hasRead = participant.local || isChatOpen;const timestampToDate = timestamp ? new Date(timestamp) : new Date();const millisecondsTimestamp = timestampToDate.getTime();- const shouldShowNotification = userSelectedNotifications['notify.chatMessages'] && !hasRead && !isReaction;++ // skip message notifications on join (the messages having timestamp - coming from the history)+ const shouldShowNotification = userSelectedNotifications['notify.chatMessages']+ && !hasRead && !isReaction && !timestamp;dispatch(addMessage({displayName,