mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(dav): Fix avatar size in system address book
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
3ad8007218
commit
bbb9437116
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue