Skip to content

Commit

Permalink
avifはMastodonでは絶望的 see misskey-dev#9283
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed Dec 5, 2022
1 parent 10025b7 commit b73ee90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/DriveService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export class DriveService {
}

satisfyWebpublic = !!(
type !== 'image/svg+xml' && type !== 'image/webp' &&
type !== 'image/svg+xml' && type !== 'image/webp' && type !== 'image/avif' &&
!(metadata.exif ?? metadata.iptc ?? metadata.xmp ?? metadata.tifftagPhotoshop) &&
metadata.width && metadata.width <= 2048 &&
metadata.height && metadata.height <= 2048
Expand Down

0 comments on commit b73ee90

Please sign in to comment.