Fix alarm-offset not being sent to client

This commit is contained in:
Hadi Nategh
2020-04-07 18:01:55 +02:00
parent 7c14d09409
commit 2f7e082d66
2 changed files with 10 additions and 3 deletions

View File

@ -356,7 +356,7 @@
switch (notifymessages[id]['extra_data']['egw_pr_notify'])
{
case EGW_PR_NOTIFY_HEIGH:
if (notifymessages[id]['extra_data']['videoconference'])
if (notifymessages[id]['extra_data']['videoconference'] && notifymessages[id]['extra_data']['alarm-offset'] == 300)
{
app.status.notificationPopup(notifymessages[id]['extra_data']['videoconference']);
}