From f307ed8597f51abebb0a2b1420cbda7d305b7c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20S=C3=A1nchez=20de=20Le=C3=B3n=20Peque?= Date: Tue, 22 Oct 2024 16:55:52 +0200 Subject: [PATCH] feat: Allow WebP content type in PhotoCache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miguel Sánchez de León Peque Signed-off-by: Richard Steinmetz --- apps/dav/lib/CardDAV/PhotoCache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/dav/lib/CardDAV/PhotoCache.php b/apps/dav/lib/CardDAV/PhotoCache.php index 7f9579a377f55..7afbbf68a22e0 100644 --- a/apps/dav/lib/CardDAV/PhotoCache.php +++ b/apps/dav/lib/CardDAV/PhotoCache.php @@ -26,6 +26,7 @@ class PhotoCache { 'image/jpeg' => 'jpg', 'image/gif' => 'gif', 'image/vnd.microsoft.icon' => 'ico', + 'image/webp' => 'webp', ]; /**