Fix gifs being converted to images on upload

Closes #376
This commit is contained in:
Shadowfacts 2023-05-03 23:20:44 -04:00
parent 02daf88db3
commit a37423a119
1 changed files with 2 additions and 1 deletions

View File

@ -203,7 +203,8 @@ extension DraftAttachment {
return
}
if type.conforms(to: .image) {
if type != .gif,
type.conforms(to: .image) {
let result = Self.processImageData(fileData, type: type, features: features, skipAllConversion: skipAllConversion)
completion(.success(result))
} else {