fix not sending deleted recurrences as delete (of master) in CalDAV sync-report

This commit is contained in:
Ralf Becker 2017-03-29 19:30:43 +02:00
parent fbeefaf788
commit 9dcc52b37d

View File

@ -347,7 +347,7 @@ class calendar_groupdav extends Api\CalDAV\Handler
unset($requested_multiget_ids[$k]);
}
// sync-collection report: deleted entries need to be reported without properties, same for rejected or deleted invitations
if ($sync_collection && ($event['deleted'] || in_array($event['participants'][$filter['users']][0], array('R','X'))))
if ($sync_collection && ($event['deleted'] && !$event['cal_reference'] || in_array($event['participants'][$filter['users']][0], array('R','X'))))
{
$files[] = array('path' => $path.urldecode($this->get_path($event)));
continue;