Skip to content

Commit

Permalink
Merge pull request #8947 from tulir/patch-1
Browse files Browse the repository at this point in the history
Fix rendering text replies
  • Loading branch information
bmarty authored Dec 20, 2024
2 parents 2217631 + 6b5a284 commit 9dfc1f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 9dfc1f1

Please sign in to comment.