summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-04-20 17:56:23 +0200
committerGitHub <noreply@github.com>2023-04-20 17:56:23 +0200
commite1415302898b119279992ab095808c8fdaf4ff49 (patch)
treef17e684cbc7aeaa6725b31b284baaac43187a646
parente7377a4f2b3fa62b3b1dd1e3ab6cc51f4f3235fc (diff)
parent8e8a660a09ae5765fd783ca3d74c10e26cec8a2f (diff)
downloadnextcloud-server-e1415302898b119279992ab095808c8fdaf4ff49.tar.gz
nextcloud-server-e1415302898b119279992ab095808c8fdaf4ff49.zip
Merge pull request #37812 from nextcloud/backport/stable26-fix-event-moving
[stable26] fix event move issue
-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 d11aaa06a1a..00dd60ed17c 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -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