From 92908b6e0e55c37fef01b835f111ebb415c81e8c Mon Sep 17 00:00:00 2001 From: purian23 Date: Mon, 21 Jul 2025 00:50:33 -0400 Subject: [PATCH] DND Hotfix --- Services/NotificationSettings.qml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Services/NotificationSettings.qml b/Services/NotificationSettings.qml index b0fc75f8..d08943c0 100644 --- a/Services/NotificationSettings.qml +++ b/Services/NotificationSettings.qml @@ -73,6 +73,10 @@ Singleton { } function isAppBlocked(appName) { + const appKey = appName.toLowerCase(); + if (appKey === "notify-send" || appKey === "libnotify") { + return false; + } return getAppSetting(appName, "blocked", false); } @@ -117,14 +121,14 @@ Singleton { return false; } - // Check Do Not Disturb mode - if (isInDoNotDisturbMode()) { - // Allow critical notifications if configured - if (allowCriticalInDND && notification.urgency === 2) { - return true; - } - return false; - } + // DND logic temporarily disabled for all notifications + // if (isInDoNotDisturbMode()) { + // // Allow critical notifications if configured + // if (allowCriticalInDND && notification.urgency === 2) { + // return true; + // } + // return false; + // } return true; }