diff options
author | tobiasKaminsky <tobias@kaminsky.me> | 2024-12-06 16:09:03 +0100 |
---|---|---|
committer | tobiasKaminsky <tobias@kaminsky.me> | 2025-01-07 12:20:09 +0100 |
commit | 9c1fe558af26b9f3b75a4d4da287e53ebd4a64e3 (patch) | |
tree | 338b37ce7d307742ffa45d08a8070f3ae7c00e40 | |
parent | 1c6e7ccae2407130f744a470e065c7fa02afa082 (diff) | |
download | nextcloud-server-9c1fe558af26b9f3b75a4d4da287e53ebd4a64e3.tar.gz nextcloud-server-9c1fe558af26b9f3b75a4d4da287e53ebd4a64e3.zip |
feat: expose tag color via webdavdavTagColor
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
-rw-r--r-- | apps/dav/lib/SystemTag/SystemTagList.php | 1 |
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(); |