Skip to content

Commit 03c6239

Browse files
committed
chore(absence): Add capability for absence replacement support
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
1 parent 8f24434 commit 03c6239

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

apps/dav/lib/Capabilities.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function __construct(
1717
}
1818

1919
/**
20-
* @return array{dav: array{chunking: string, bulkupload?: string, absence-supported?: bool}}
20+
* @return array{dav: array{chunking: string, bulkupload?: string, absence-supported?: bool, absence-replacement?: bool}}
2121
*/
2222
public function getCapabilities() {
2323
$capabilities = [
@@ -30,6 +30,7 @@ public function getCapabilities() {
3030
}
3131
if ($this->coordinator->isEnabled()) {
3232
$capabilities['dav']['absence-supported'] = true;
33+
$capabilities['dav']['absence-replacement'] = true;
3334
}
3435
return $capabilities;
3536
}

apps/dav/openapi.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
},
4141
"absence-supported": {
4242
"type": "boolean"
43+
},
44+
"absence-replacement": {
45+
"type": "boolean"
4346
}
4447
}
4548
}

0 commit comments

Comments
 (0)