No longer need to check this at app level, it is now done by the SDK

This commit is contained in:
Sylvain Berfini 2026-02-24 10:00:52 +01:00
parent 973398307c
commit 3c9d08e14d

View file

@ -105,9 +105,6 @@ class ConversationMediaListViewModel
private fun getFileModelsListFromContents(contents: Array<Content>): ArrayList<FileModel> {
val list = arrayListOf<FileModel>()
for (mediaContent in contents) {
// Do not display voice recordings here, even if they are media file
if (mediaContent.isVoiceRecording) continue
val isEncrypted = mediaContent.isFileEncrypted
val originalPath = mediaContent.filePath.orEmpty()
val path = if (isEncrypted) {