Skip to content

Commit

Permalink
Merge pull request #38419 from nextcloud/backport/38413/stable27
Browse files Browse the repository at this point in the history
[stable27] fix(SAB): Save avatar to SAB
  • Loading branch information
JohannesGGE authored May 23, 2023
2 parents 713b960 + d96200b commit 16a1ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/CardDAV/Converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function createCardFromUser(IUser $user): ?VCard {
$publish = false;

foreach ($userProperties as $property) {
if (empty($property->getValue())) {
if ($property->getName() !== IAccountManager::PROPERTY_AVATAR && empty($property->getValue())) {
continue;
}

Expand Down

0 comments on commit 16a1ec6

Please sign in to comment.