aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Martin <maximilian_martin@gmx.de>2023-03-03 16:02:44 -0500
committerMaximilian Martin <maximilian_martin@gmx.de>2023-04-18 09:45:30 +0200
commitc8985944ec245acc9fa2fc36607519c859d819ba (patch)
treebf42a6d41f1e01155826e60df16636fe2733e6ac
parentff58cd52279cccfbda0cc4683f1194d6c7ee283b (diff)
downloadnextcloud-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.php4
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