diff --git a/src/main/java/org/havenapp/main/service/MonitorService.java b/src/main/java/org/havenapp/main/service/MonitorService.java index 64d1caf1..2a6d0066 100644 --- a/src/main/java/org/havenapp/main/service/MonitorService.java +++ b/src/main/java/org/havenapp/main/service/MonitorService.java @@ -305,9 +305,10 @@ else if (mPrefs.getNotificationTimeMs() > 0 && mLastNotification != null) //check if time window is within configured notification time window doNotification = ((now.getTime()-mLastNotification.getTime())>mPrefs.getNotificationTimeMs()); } - else + + if (doNotification) { - doNotification = true; + doNotification = !(mPrefs.getVideoMonitoringActive() && alertType == EventTrigger.CAMERA); } EventTrigger eventTrigger = new EventTrigger();