Timeline: fix wrong username for reply

This commit is contained in:
ganfra
2023-06-13 11:20:24 +02:00
parent 123872dc3a
commit 2f3a930ca3

View File

@@ -243,7 +243,7 @@ private fun MessageEventBubbleContent(
) {
EqualWidthColumn(modifier = modifier, spacing = 8.dp) {
if (inReplyToDetails != null) {
val senderName = event.senderDisplayName ?: event.senderId.value
val senderName = inReplyToDetails.senderDisplayName ?: inReplyToDetails.senderId.value
val attachmentThumbnailInfo = attachmentThumbnailInfoForInReplyTo(inReplyToDetails)
ReplyToContent(
senderName = senderName,