Skip to content

Commit

Permalink
Update UpdatedReplyDecorator.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir authored Nov 18, 2024
1 parent 367fcfa commit 6b5a284
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 6b5a284

Please sign in to comment.