Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
consider heic/heif attachments as photos so previews can be served, f…
…allback to media if previewManager does not support them

Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
Julien Veyssier committed Sep 20, 2022
commit 767bbf83313563ec6b8231432851b9a49f8eefe0
2 changes: 2 additions & 0 deletions lib/Controller/AttachmentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class AttachmentController extends Controller {
'image/bmp',
'image/svg+xml',
'image/webp',
'image/heic',
'image/heif',
];

private AttachmentService $attachmentService;
Expand Down