Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support heic/heif attachments as photos #2972

Merged
merged 1 commit into from
Sep 20, 2022
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]>
Julien Veyssier committed Sep 20, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 767bbf83313563ec6b8231432851b9a49f8eefe0
2 changes: 2 additions & 0 deletions lib/Controller/AttachmentController.php
Original file line number Diff line number Diff line change
@@ -51,6 +51,8 @@ class AttachmentController extends Controller {
'image/bmp',
'image/svg+xml',
'image/webp',
'image/heic',
'image/heif',
];

private AttachmentService $attachmentService;