From 10eea5603e402994fd65af7cf4dcc69952484f71 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Mon, 19 Oct 2026 19:11:30 +1100 Subject: [PATCH] BE: down notifications offset issue #1851 --- server/models/notification_instance.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/models/notification_instance.py b/server/models/notification_instance.py index e28caa310..284cb7c7a 100755 --- a/server/models/notification_instance.py +++ b/server/models/notification_instance.py @@ -232,8 +232,10 @@ class NotificationInstance: self.save() - # Clear the Pending Email flag from all events and devices def clearPendingEmailFlag(self): + """Clear evePendingAlertEmail on reported Events and stamp + devLastNotification on their devices; 'Device Down' events are only + cleared once NTFPRCS_alert_down_time minutes have passed.""" # Clean Pending Alert Events self.db.sql.execute("""