From 340fe268e529bdf856806ac37a9d30164a7cebc4 Mon Sep 17 00:00:00 2001 From: Bruno Muniz Azevedo Filho <bruno@elixxir.io> Date: Tue, 28 Jun 2022 16:33:56 -0300 Subject: [PATCH] Fixed voice message issue --- Sources/ChatFeature/Helpers/CellConfigurator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ChatFeature/Helpers/CellConfigurator.swift b/Sources/ChatFeature/Helpers/CellConfigurator.swift index c59050a9..60bc0df7 100644 --- a/Sources/ChatFeature/Helpers/CellConfigurator.swift +++ b/Sources/ChatFeature/Helpers/CellConfigurator.swift @@ -54,7 +54,7 @@ extension CellFactory { }, build: { item, collectionView, indexPath in let ft = transfer(item.fileTransferId!) let cell: IncomingAudioCell = collectionView.dequeueReusableCell(forIndexPath: indexPath) - let url = FileManager.url(for: ft.name)! + let url = FileManager.url(for: "\(ft.name).\(ft.type)")! var model = AudioMessageCellState( date: item.date, -- GitLab