Merge pull request #37813 from nextcloud/backport/stable25-fix-event-moving

[stable25] fix event moving
This commit is contained in:
Arthur Schiwon 2023-06-13 17:35:14 +02:00 committed by GitHub
commit e21f84686a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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