diff --git a/CHANGELOG.md b/CHANGELOG.md index 81280519d..2da6a127d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,12 @@ Group changes to describe their impact on the project, as follows: ### Fixed - Messages not marked as reply in basic chat room if sending more than 1 content +## [5.0.12] - 2023-05-23 + +### Fixed +- Crash if notification manager throws an exception +- Video preview not moving if call was started in audio only + ## [5.0.11] - 2023-05-09 ### Fixed diff --git a/app/src/main/java/org/linphone/activities/main/chat/data/ChatMessageContentData.kt b/app/src/main/java/org/linphone/activities/main/chat/data/ChatMessageContentData.kt index d97232dc0..2ef13258b 100644 --- a/app/src/main/java/org/linphone/activities/main/chat/data/ChatMessageContentData.kt +++ b/app/src/main/java/org/linphone/activities/main/chat/data/ChatMessageContentData.kt @@ -182,7 +182,7 @@ class ChatMessageContentData( val content = getContent() val filePath = content.filePath if (content.isFileTransfer) { - if (filePath == null || filePath.isEmpty()) { + if (filePath.isNullOrEmpty()) { val contentName = content.name if (contentName != null) { val file = FileUtils.getFileStoragePath(contentName)