Accept alarm notifications which are less than 5min

This commit is contained in:
Hadi Nategh 2020-04-07 18:25:27 +02:00
parent b74495de20
commit c7822bc679

View File

@ -356,7 +356,7 @@
switch (notifymessages[id]['extra_data']['egw_pr_notify']) switch (notifymessages[id]['extra_data']['egw_pr_notify'])
{ {
case EGW_PR_NOTIFY_HEIGH: 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']); app.status.notificationPopup(notifymessages[id]['extra_data']['videoconference']);
} }