Timeline: fix wrong username for reply

This commit is contained in:
ganfra 2023-06-13 11:20:24 +02:00
parent 800896be88
commit 8ddc1090b1

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,