mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
also set id for calendar alarms, so notifications can group them with the event
This commit is contained in:
parent
4b683b38ea
commit
6f39a1144f
@ -1246,7 +1246,7 @@ class calendar_boupdate extends calendar_bo
|
||||
'id' => $event['id'],
|
||||
'app' => 'calendar',
|
||||
'videoconference' => $details['videoconference'],
|
||||
));
|
||||
), $event['id']);
|
||||
}
|
||||
if ($m_type === MSG_ALARM)
|
||||
{
|
||||
@ -1257,7 +1257,7 @@ class calendar_boupdate extends calendar_bo
|
||||
'account_id' => $senderid,
|
||||
'name' => Api\Accounts::username($senderid)
|
||||
)
|
||||
+ ($alarm ? ['alarm-offset' => (int)$alarm['offset']] : []));
|
||||
+ ($alarm ? ['alarm-offset' => (int)$alarm['offset']] : []), $event['id']);
|
||||
}
|
||||
$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')));
|
||||
|
Loading…
Reference in New Issue
Block a user