aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Orbaugh <62374139+sorbaugh@users.noreply.github.com>2025-01-07 13:34:09 +0100
committerGitHub <noreply@github.com>2025-01-07 13:34:09 +0100
commit4b1bfdabdb17353823ca3a3088bfb72b8730ba74 (patch)
tree338b37ce7d307742ffa45d08a8070f3ae7c00e40
parent1c6e7ccae2407130f744a470e065c7fa02afa082 (diff)
parent9c1fe558af26b9f3b75a4d4da287e53ebd4a64e3 (diff)
downloadnextcloud-server-4b1bfdabdb17353823ca3a3088bfb72b8730ba74.tar.gz
nextcloud-server-4b1bfdabdb17353823ca3a3088bfb72b8730ba74.zip
Merge pull request #49692 from nextcloud/davTagColor
expose tag color via webdav
-rw-r--r--apps/dav/lib/SystemTag/SystemTagList.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/SystemTag/SystemTagList.php b/apps/dav/lib/SystemTag/SystemTagList.php
index 63e69db0eda..546467f562e 100644
--- a/apps/dav/lib/SystemTag/SystemTagList.php
+++ b/apps/dav/lib/SystemTag/SystemTagList.php
@@ -54,6 +54,7 @@ class SystemTagList implements Element {
SystemTagPlugin::ID_PROPERTYNAME => $tag->getId(),
SystemTagPlugin::USERASSIGNABLE_PROPERTYNAME => $tag->isUserAssignable() ? 'true' : 'false',
SystemTagPlugin::USERVISIBLE_PROPERTYNAME => $tag->isUserVisible() ? 'true' : 'false',
+ SystemTagPlugin::COLOR_PROPERTYNAME => $tag->getColor() ?? '',
]);
$writer->write($tag->getName());
$writer->endElement();