mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
* Calendar/CalDAV: fix server did not send alarms for virtual exceptions of recurring events
This commit is contained in:
parent
a3154e8de2
commit
108e25b4b3
@ -758,14 +758,10 @@ class calendar_groupdav extends Api\CalDAV\Handler
|
||||
}
|
||||
continue; // nothing to change
|
||||
}
|
||||
// alarms are reported on recurrences --> move them to master
|
||||
if ($master)
|
||||
// add alarms from master to recurrences, as clients otherwise have no alarms on virtual exceptions
|
||||
if ($master && $master['alarm'])
|
||||
{
|
||||
foreach($recurrence['alarm'] as $alarm)
|
||||
{
|
||||
$master['alarm'][] = $alarm;
|
||||
}
|
||||
$recurrence['alarm'] = array();
|
||||
$recurrence['alarm'] = $master['alarm'];
|
||||
}
|
||||
// now we need to check if this recurrence is an exception
|
||||
if (!$expand && $master && $master['participants'] == $recurrence['participants'])
|
||||
|
Loading…
Reference in New Issue
Block a user