[iOS11] Support sending .heif filesS

// FREEBIE
This commit is contained in:
Michael Kirk 2017-09-06 12:11:54 -04:00
parent 83ca34edbe
commit 2d13c49222
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ class SignalAttachment: NSObject {
// being uploaded.
private class var inputImageUTISet: Set<String> {
// HEIC is valid input, but not valid output. Non-iOS11 clients do not support it.
let heicSet: Set<String> = Set(["public.heic"])
let heicSet: Set<String> = Set(["public.heic", "public.heif"])
return MIMETypeUtil.supportedImageUTITypes()
.union(animatedImageUTISet)