EventContent: rename eventSender to senderText
This commit is contained in:
parent
2fd2806514
commit
c8095f4874
|
@ -9,7 +9,7 @@ HRowLayout {
|
||||||
layoutDirection: onRight ? Qt.RightToLeft: Qt.LeftToRight
|
layoutDirection: onRight ? Qt.RightToLeft: Qt.LeftToRight
|
||||||
|
|
||||||
|
|
||||||
readonly property string eventSender: // XXX
|
readonly property string senderText:
|
||||||
hideNameLine ? "" : (
|
hideNameLine ? "" : (
|
||||||
"<div class='sender'>" +
|
"<div class='sender'>" +
|
||||||
Utils.coloredNameHtml(model.sender_name, model.sender_id) +
|
Utils.coloredNameHtml(model.sender_name, model.sender_id) +
|
||||||
|
@ -91,7 +91,7 @@ HRowLayout {
|
||||||
theme.chat.message.styleInclude +
|
theme.chat.message.styleInclude +
|
||||||
|
|
||||||
// Sender name
|
// Sender name
|
||||||
eventContent.eventSender +
|
eventContent.senderText +
|
||||||
|
|
||||||
// Message body
|
// Message body
|
||||||
eventContent.contentText +
|
eventContent.contentText +
|
||||||
|
@ -162,7 +162,7 @@ HRowLayout {
|
||||||
EventMediaLoader {
|
EventMediaLoader {
|
||||||
singleMediaInfo: eventDelegate.currentItem
|
singleMediaInfo: eventDelegate.currentItem
|
||||||
mediaUrl: modelData
|
mediaUrl: modelData
|
||||||
showSender: pureMedia ? eventSender : ""
|
showSender: pureMedia ? senderText : ""
|
||||||
showDate: pureMedia ? timeText : ""
|
showDate: pureMedia ? timeText : ""
|
||||||
showLocalEcho: pureMedia ? localEchoText : ""
|
showLocalEcho: pureMedia ? localEchoText : ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user