mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-17 21:38:29 +00:00
No longer need to check this at app level, it is now done by the SDK
This commit is contained in:
parent
973398307c
commit
3c9d08e14d
1 changed files with 0 additions and 3 deletions
|
|
@ -105,9 +105,6 @@ class ConversationMediaListViewModel
|
||||||
private fun getFileModelsListFromContents(contents: Array<Content>): ArrayList<FileModel> {
|
private fun getFileModelsListFromContents(contents: Array<Content>): ArrayList<FileModel> {
|
||||||
val list = arrayListOf<FileModel>()
|
val list = arrayListOf<FileModel>()
|
||||||
for (mediaContent in contents) {
|
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 isEncrypted = mediaContent.isFileEncrypted
|
||||||
val originalPath = mediaContent.filePath.orEmpty()
|
val originalPath = mediaContent.filePath.orEmpty()
|
||||||
val path = if (isEncrypted) {
|
val path = if (isEncrypted) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue