mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Video avatar fixes
This commit is contained in:
@@ -443,7 +443,7 @@ public func legacyEnqueueWebSearchMessages(_ selectionState: TGMediaSelectionCon
|
||||
if animated {
|
||||
dict["isAnimation"] = true
|
||||
if let photoEditorValues = adjustments as? PGPhotoEditorValues {
|
||||
dict["adjustments"] = TGVideoEditAdjustments(photoEditorValues: photoEditorValues)
|
||||
dict["adjustments"] = TGVideoEditAdjustments(photoEditorValues: photoEditorValues, preset: TGMediaVideoConversionPresetAnimation)
|
||||
}
|
||||
|
||||
let filePath = NSTemporaryDirectory().appending("/gifvideo_\(arc4random()).jpg")
|
||||
|
||||
Reference in New Issue
Block a user