Skip to content

Commit

Permalink
Merge pull request #38413 from nextcloud/fix/38412/save-avatar-SAB
Browse files Browse the repository at this point in the history
fix(SAB): Save avatar to SAB
  • Loading branch information
JohannesGGE authored May 23, 2023
2 parents ea46959 + 5983ef0 commit 7ec1ceb
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 7ec1ceb

Please sign in to comment.