From 9c1fe558af26b9f3b75a4d4da287e53ebd4a64e3 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Fri, 6 Dec 2024 16:09:03 +0100 Subject: [PATCH] feat: expose tag color via webdav Signed-off-by: tobiasKaminsky --- apps/dav/lib/SystemTag/SystemTagList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/dav/lib/SystemTag/SystemTagList.php b/apps/dav/lib/SystemTag/SystemTagList.php index 63e69db0eda05..546467f562e0c 100644 --- a/apps/dav/lib/SystemTag/SystemTagList.php +++ b/apps/dav/lib/SystemTag/SystemTagList.php @@ -54,6 +54,7 @@ public function xmlSerialize(Writer $writer): void { 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();