Skip to content

Commit

Permalink
Merge pull request #49692 from nextcloud/davTagColor
Browse files Browse the repository at this point in the history
expose tag color via webdav
  • Loading branch information
sorbaugh authored Jan 7, 2025
2 parents 1c6e7cc + 9c1fe55 commit 4b1bfda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/dav/lib/SystemTag/SystemTagList.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4b1bfda

Please sign in to comment.