1
0
mirror of https://github.com/vector-im/riotX-android synced 2025-10-05 15:52:47 +02:00

Update UpdatedReplyDecorator.kt

This commit is contained in:
Tulir Asokan
2024-11-18 21:50:01 +02:00
committed by GitHub
parent 367fcfa8f9
commit 6b5a284935

View File

@@ -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),