mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 02:22:44 +02:00
Support mp4 audio file format
This commit is contained in:
@@ -208,7 +208,8 @@ class VoiceMessageAttachmentCacheManager {
|
||||
return
|
||||
}
|
||||
|
||||
let newURL = temporaryFilesFolderURL.appendingPathComponent(identifier).appendingPathExtension("m4a")
|
||||
let fileExtension = filePath.hasSuffix(".mp4") ? "mp4" : "m4a"
|
||||
let newURL = temporaryFilesFolderURL.appendingPathComponent(identifier).appendingPathExtension(fileExtension)
|
||||
|
||||
let conversionCompletion: (Result<Void, VoiceMessageAudioConverterError>) -> Void = { result in
|
||||
self.workQueue.async {
|
||||
|
||||
Reference in New Issue
Block a user