From 6b5a28493564e6e0b425f3dbb6eeb51146d195a9 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 18 Nov 2024 21:50:01 +0200 Subject: [PATCH] Update UpdatedReplyDecorator.kt --- .../session/room/timeline/decorator/UpdatedReplyDecorator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),