Merge pull request #38419 from nextcloud/backport/38413/stable27

[stable27] fix(SAB): Save avatar to SAB
This commit is contained in:
Johannes 2023-05-23 20:02:49 +02:00 committed by GitHub
commit 16a1ec629f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ class Converter {
$publish = false;
foreach ($userProperties as $property) {
if (empty($property->getValue())) {
if ($property->getName() !== IAccountManager::PROPERTY_AVATAR && empty($property->getValue())) {
continue;
}