From 39fa3c49b1f9415e5ef42b9fc2dcbee68f729c9b Mon Sep 17 00:00:00 2001 From: Gigiaj Date: Tue, 10 Jun 2025 17:32:30 -0500 Subject: [PATCH] Undo these --- src/app/pages/client/ClientNonUIFeatures.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/pages/client/ClientNonUIFeatures.tsx b/src/app/pages/client/ClientNonUIFeatures.tsx index 0e2d5d67..170bc03b 100644 --- a/src/app/pages/client/ClientNonUIFeatures.tsx +++ b/src/app/pages/client/ClientNonUIFeatures.tsx @@ -187,15 +187,13 @@ function MessageNotifications() { ) => { if (mx.getSyncState() !== 'SYNCING') return; if (document.hasFocus() && (selectedRoomId === room?.roomId || notificationSelected)) return; - let pushActions = mx.getPushActionsForEvent(mEvent); - const hasInAppTweak = pushActions?.tweaks?.sound === 'cinny_show_banner'; if ( !room || !data.liveEvent || room.isSpaceRoom() || !isNotificationEvent(mEvent) || - (getNotificationType(mx, room.roomId) === NotificationType.Mute && !hasInAppTweak) + getNotificationType(mx, room.roomId) === NotificationType.Mute ) { return; }