aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorMarcel Müller <marcel-mueller@gmx.de>2024-12-01 22:23:51 +0100
committerMarcel Müller <marcel-mueller@gmx.de>2024-12-01 23:15:32 +0100
commit303a21fc9d1c702b452d71b39cf21deecaedaef8 (patch)
tree862462fca56915e4d2a6fb7f0c91411319821622 /apps/dav/lib
parent66d4f0e4c0b062a4a0d9e4946dfa673e155c338c (diff)
downloadnextcloud-server-303a21fc9d1c702b452d71b39cf21deecaedaef8.tar.gz
nextcloud-server-303a21fc9d1c702b452d71b39cf21deecaedaef8.zip
chore(absence): Add capability for absence replacement support
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/Capabilities.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/Capabilities.php b/apps/dav/lib/Capabilities.php
index 36d56d4a822..ab4e53fce37 100644
--- a/apps/dav/lib/Capabilities.php
+++ b/apps/dav/lib/Capabilities.php
@@ -17,7 +17,7 @@ class Capabilities implements ICapability {
}
/**
- * @return array{dav: array{chunking: string, bulkupload?: string, absence-supported?: bool}}
+ * @return array{dav: array{chunking: string, bulkupload?: string, absence-supported?: bool, absence-replacement?: bool}}
*/
public function getCapabilities() {
$capabilities = [
@@ -30,6 +30,7 @@ class Capabilities implements ICapability {
}
if ($this->coordinator->isEnabled()) {
$capabilities['dav']['absence-supported'] = true;
+ $capabilities['dav']['absence-replacement'] = true;
}
return $capabilities;
}