diff options
author | Michael Weimann <mail@michael-weimann.eu> | 2019-01-29 19:52:19 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-02-07 14:23:16 +0100 |
commit | 2a8118e459d05e3dce2bd5421cca33859e7e9f02 (patch) | |
tree | cc0fb3c2dc7fb626087bbdf88ab7c3824de55684 /lib/private/Avatar | |
parent | bf1253cb49a4931244a6bbde4dfa44bf084f4377 (diff) | |
download | nextcloud-server-2a8118e459d05e3dce2bd5421cca33859e7e9f02.tar.gz nextcloud-server-2a8118e459d05e3dce2bd5421cca33859e7e9f02.zip |
Switch guest avatars to PNG
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'lib/private/Avatar')
-rw-r--r-- | lib/private/Avatar/GuestAvatar.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Avatar/GuestAvatar.php b/lib/private/Avatar/GuestAvatar.php index e0eefa47b6b..2a165d0ce7c 100644 --- a/lib/private/Avatar/GuestAvatar.php +++ b/lib/private/Avatar/GuestAvatar.php @@ -90,8 +90,8 @@ class GuestAvatar extends Avatar { * @return InMemoryFile */ public function getFile($size) { - $avatar = $this->getAvatarVector($size); - return new InMemoryFile('avatar.svg', $avatar); + $avatar = $this->generateAvatar($this->userDisplayName, $size); + return new InMemoryFile('avatar.png', $avatar); } /** |