Skip to content

Commit 9dfc1f1

Browse files
authored
Merge pull request #8947 from tulir/patch-1
Fix rendering text replies
2 parents 2217631 + 6b5a284 commit 9dfc1f1

File tree

1 file changed

+1
-1
lines changed
  • matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/decorator

1 file changed

+1
-1
lines changed

matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/decorator/UpdatedReplyDecorator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ internal class UpdatedReplyDecorator(
5959
val isRedactedEvent = timelineEventEntity.root?.asDomain()?.isRedacted() ?: false
6060

6161
val replyText = localEchoEventFactory
62-
.bodyForReply(currentTimelineEvent.getLastMessageContent(), true).formattedText ?: ""
62+
.bodyForReply(currentTimelineEvent.getLastMessageContent(), true).takeFormatted()
6363

6464
val newContent = localEchoEventFactory.createReplyTextContent(
6565
timelineEventMapper.map(timelineEventEntity),

0 commit comments

Comments
 (0)