diff options
author | Maximilian Martin <maximilian_martin@gmx.de> | 2023-03-03 16:02:44 -0500 |
---|---|---|
committer | Maximilian Martin <maximilian_martin@gmx.de> | 2023-04-18 09:45:30 +0200 |
commit | c8985944ec245acc9fa2fc36607519c859d819ba (patch) | |
tree | bf42a6d41f1e01155826e60df16636fe2733e6ac | |
parent | ff58cd52279cccfbda0cc4683f1194d6c7ee283b (diff) | |
download | nextcloud-server-c8985944ec245acc9fa2fc36607519c859d819ba.tar.gz nextcloud-server-c8985944ec245acc9fa2fc36607519c859d819ba.zip |
fix event move issue
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
-rw-r--r-- | apps/dav/lib/CalDAV/CalDavBackend.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index 70f2ca8290f..1cdb705ac92 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -1375,8 +1375,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 |