Set notify priority to high only for alarms

This commit is contained in:
Hadi Nategh 2018-06-21 17:29:39 +02:00
parent e6e4ca6309
commit 32999ee231

View File

@ -1063,10 +1063,10 @@ class calendar_boupdate extends calendar_bo
// Add ACCEPT|REHECT|TENTATIVE actions
$notification->set_popupdata('calendar', array(
'event_id' => $event['id'],
'user_id' => $userid,
'egw_pr_notify' => 1
'user_id' => $userid
));
}
if ($m_type === MSG_ALARM) $notification->set_popupdata('calendar', array('egw_pr_notify' => 1));
$notification->set_popupmessage($subject."\n\n".$notify_body."\n\n".$details['description']."\n\n".$details_body."\n\n");
$notification->set_popuplinks(array($details['link_arr']+array('app'=>'calendar')));