mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Set notify priority to high only for alarms
This commit is contained in:
parent
e6e4ca6309
commit
32999ee231
@ -1063,10 +1063,10 @@ class calendar_boupdate extends calendar_bo
|
|||||||
// Add ACCEPT|REHECT|TENTATIVE actions
|
// Add ACCEPT|REHECT|TENTATIVE actions
|
||||||
$notification->set_popupdata('calendar', array(
|
$notification->set_popupdata('calendar', array(
|
||||||
'event_id' => $event['id'],
|
'event_id' => $event['id'],
|
||||||
'user_id' => $userid,
|
'user_id' => $userid
|
||||||
'egw_pr_notify' => 1
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
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_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')));
|
$notification->set_popuplinks(array($details['link_arr']+array('app'=>'calendar')));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user