diff --git a/src/lib/hooks/useNotificationHandler.ts b/src/lib/hooks/useNotificationHandler.ts index 83bc300e8d..e288ac3ad4 100644 --- a/src/lib/hooks/useNotificationHandler.ts +++ b/src/lib/hooks/useNotificationHandler.ts @@ -171,9 +171,9 @@ export function useNotificationsHandler() { ) { const isCurrentConvo = payload.convoId === currentConvoId return { - shouldShowAlert: isCurrentConvo, + shouldShowAlert: !isCurrentConvo, shouldPlaySound: false, - shouldSetBadge: isCurrentConvo, + shouldSetBadge: !isCurrentConvo, } }