fix event move issue

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

View file

@ -1374,8 +1374,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