From 6cff13110d694b76e70f44eeb51b2e34c7839bb2 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] 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 --- 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', ]; /**