Skip to content
Snippets Groups Projects
Commit a305f0a2 authored by Bruno Muniz's avatar Bruno Muniz :apple:
Browse files

Fix voice message crash outgoing

parent 340fe268
No related branches found
No related tags found
2 merge requests!40v1.1.2b166,!39Fixing QA bugs before releasing
...@@ -130,7 +130,7 @@ extension CellFactory { ...@@ -130,7 +130,7 @@ extension CellFactory {
}, build: { item, collectionView, indexPath in }, build: { item, collectionView, indexPath in
let ft = transfer(item.fileTransferId!) let ft = transfer(item.fileTransferId!)
let cell: OutgoingAudioCell = collectionView.dequeueReusableCell(forIndexPath: indexPath) let cell: OutgoingAudioCell = collectionView.dequeueReusableCell(forIndexPath: indexPath)
let url = FileManager.url(for: ft.name)! let url = FileManager.url(for: "\(ft.name).\(ft.type)")!
var model = AudioMessageCellState( var model = AudioMessageCellState(
date: item.date, date: item.date,
audioURL: url, audioURL: url,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment