Skip to content

Commit aa57c67

Browse files
committed
fix: send deleted addressbook items in caldav sync
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 9756097 commit aa57c67

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/dav/lib/CardDAV/SystemAddressbook.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ public function getChanges($syncToken, $syncLevel, $limit = null) {
232232
return $changed;
233233
}
234234

235-
$added = $modified = $deleted = [];
235+
$added = $modified = [];
236+
$deleted = array_values($changed['deleted']);
236237
foreach ($changed['added'] as $uri) {
237238
try {
238239
$this->getChild($uri);

0 commit comments

Comments
 (0)