From c8095f48746af3f19e99ffb1d3cec3c0d6908841 Mon Sep 17 00:00:00 2001 From: miruka Date: Sat, 30 Nov 2019 07:13:51 -0400 Subject: [PATCH] EventContent: rename eventSender to senderText --- src/qml/Chat/Timeline/EventContent.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qml/Chat/Timeline/EventContent.qml b/src/qml/Chat/Timeline/EventContent.qml index bf342745..452aceb5 100644 --- a/src/qml/Chat/Timeline/EventContent.qml +++ b/src/qml/Chat/Timeline/EventContent.qml @@ -9,7 +9,7 @@ HRowLayout { layoutDirection: onRight ? Qt.RightToLeft: Qt.LeftToRight - readonly property string eventSender: // XXX + readonly property string senderText: hideNameLine ? "" : ( "
" + Utils.coloredNameHtml(model.sender_name, model.sender_id) + @@ -91,7 +91,7 @@ HRowLayout { theme.chat.message.styleInclude + // Sender name - eventContent.eventSender + + eventContent.senderText + // Message body eventContent.contentText + @@ -162,7 +162,7 @@ HRowLayout { EventMediaLoader { singleMediaInfo: eventDelegate.currentItem mediaUrl: modelData - showSender: pureMedia ? eventSender : "" + showSender: pureMedia ? senderText : "" showDate: pureMedia ? timeText : "" showLocalEcho: pureMedia ? localEchoText : ""