aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-05-26 10:03:58 +0200
committerJoas Schilling <coding@schilljs.com>2023-05-26 10:03:58 +0200
commitef93bb926c36ac7ddbb923a2d8e48d0230334d66 (patch)
treecfa941b19812447f7c7c3f3d3f16aa95cdbe42af /apps/dav/lib
parent7d9d99d5e648a4a1fae4eebedd92082b94571d50 (diff)
downloadnextcloud-server-ef93bb926c36ac7ddbb923a2d8e48d0230334d66.tar.gz
nextcloud-server-ef93bb926c36ac7ddbb923a2d8e48d0230334d66.zip
fix(dav): Fix avatar size in system address book
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/CardDAV/Converter.php2
1 files changed, 1 insertions, 1 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;
}