fix event move issue

Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
This commit is contained in:
Maximilian Martin 2023-03-03 16:02:44 -05:00 committed by Thomas Citharel
parent 9b0ea1a913
commit 8e8a660a09
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -1361,8 +1361,8 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
$this->purgeProperties($sourceCalendarId, $objectId);
$this->updateProperties($targetCalendarId, $object['uri'], $object['calendardata'], $calendarType);
$this->addChange($sourceCalendarId, $object['uri'], 1, $calendarType);
$this->addChange($targetCalendarId, $object['uri'], 3, $calendarType);
$this->addChange($sourceCalendarId, $object['uri'], 3, $calendarType);
$this->addChange($targetCalendarId, $object['uri'], 1, $calendarType);
$object = $this->getCalendarObjectById($newPrincipalUri, $objectId);
// Calendar Object wasn't found - possibly because it was deleted in the meantime by a different client