diff options
-rw-r--r-- | apps/dav/lib/CardDAV/Converter.php | 2 | ||||
-rw-r--r-- | lib/private/User/User.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CardDAV/Converter.php b/apps/dav/lib/CardDAV/Converter.php index a416a9f757a..c8add1b96a6 100644 --- a/apps/dav/lib/CardDAV/Converter.php +++ b/apps/dav/lib/CardDAV/Converter.php @@ -151,7 +151,7 @@ class Converter { private function getAvatarImage(IUser $user): ?IImage { try { - return $user->getAvatarImage(-1); + return $user->getAvatarImage(512); } catch (Exception $ex) { return null; } diff --git a/lib/private/User/User.php b/lib/private/User/User.php index c68d4ee290a..10e9122de84 100644 --- a/lib/private/User/User.php +++ b/lib/private/User/User.php @@ -571,7 +571,7 @@ class User implements IUser { } $avatar = $this->avatarManager->getAvatar($this->uid); - $image = $avatar->get(-1); + $image = $avatar->get($size); if ($image) { return $image; } |