diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/decorator/UpdatedReplyDecorator.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/decorator/UpdatedReplyDecorator.kt index 2b12fe814cd..d6915fd6605 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/decorator/UpdatedReplyDecorator.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/decorator/UpdatedReplyDecorator.kt @@ -59,7 +59,7 @@ internal class UpdatedReplyDecorator( val isRedactedEvent = timelineEventEntity.root?.asDomain()?.isRedacted() ?: false val replyText = localEchoEventFactory - .bodyForReply(currentTimelineEvent.getLastMessageContent(), true).formattedText ?: "" + .bodyForReply(currentTimelineEvent.getLastMessageContent(), true).takeFormatted() val newContent = localEchoEventFactory.createReplyTextContent( timelineEventMapper.map(timelineEventEntity),