Skip to content

Commit 6cf2060

Browse files
committed
fix event move issue
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
1 parent b21c5c8 commit 6cf2060

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/dav/lib/CalDAV/CalDavBackend.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,8 +1361,8 @@ public function moveCalendarObject(int $sourceCalendarId, int $targetCalendarId,
13611361
$this->purgeProperties($sourceCalendarId, $objectId);
13621362
$this->updateProperties($targetCalendarId, $object['uri'], $object['calendardata'], $calendarType);
13631363

1364-
$this->addChange($sourceCalendarId, $object['uri'], 1, $calendarType);
1365-
$this->addChange($targetCalendarId, $object['uri'], 3, $calendarType);
1364+
$this->addChange($sourceCalendarId, $object['uri'], 3, $calendarType);
1365+
$this->addChange($targetCalendarId, $object['uri'], 1, $calendarType);
13661366

13671367
$object = $this->getCalendarObjectById($newPrincipalUri, $objectId);
13681368
// Calendar Object wasn't found - possibly because it was deleted in the meantime by a different client

0 commit comments

Comments
 (0)