From c7822bc6795f07086069da6d78574dccc89a303f Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 7 Apr 2020 18:25:27 +0200 Subject: [PATCH] Accept alarm notifications which are less than 5min --- notifications/js/notificationajaxpopup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications/js/notificationajaxpopup.js b/notifications/js/notificationajaxpopup.js index 7d81604746..7c9f3ed041 100644 --- a/notifications/js/notificationajaxpopup.js +++ b/notifications/js/notificationajaxpopup.js @@ -356,7 +356,7 @@ switch (notifymessages[id]['extra_data']['egw_pr_notify']) { case EGW_PR_NOTIFY_HEIGH: - if (notifymessages[id]['extra_data']['videoconference'] && notifymessages[id]['extra_data']['alarm-offset'] == 300) + if (notifymessages[id]['extra_data']['videoconference'] && notifymessages[id]['extra_data']['alarm-offset'] <= 300) { app.status.notificationPopup(notifymessages[id]['extra_data']['videoconference']); }