Undo these

This commit is contained in:
Gigiaj committed 2025-06-20 17:03:51 -05:00
1 parent 99891765b7
commit 39fa3c49b1
1 file changed
+1 -3
+1 -3
View File
@@ -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;
}