Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat: added lobby chat notification (#15728)

Lakshay4469917d4573
diff --git a/react/features/chat/middleware.ts b/react/features/chat/middleware.ts
index eccbf0431e..fa6f0f28b8 100644
--- a/react/features/chat/middleware.ts
+++ b/react/features/chat/middleware.ts
@@ -507,7 +507,8 @@ function _handleReceivedMessage({ dispatch, getState }: IStore,
// skip message notifications on join (the messages having timestamp - coming from the history)
const shouldShowNotification = userSelectedNotifications?.['notify.chatMessages']
- && !hasRead && !isReaction && !timestamp;
+ && !hasRead && !isReaction
+ && (!timestamp || lobbyChat);
if (isGuest) {
displayNameToShow = `${displayNameToShow} ${i18next.t('visitors.chatIndicator')}`;