Mobile DelegateContextMenu

Make sure that the mobile DelegateContextMenu is getting the author data correctly
This commit is contained in:
James Graham
2024-10-13 14:47:10 +00:00
parent 3a66b4d67e
commit 69571489fa

View File

@@ -284,7 +284,7 @@ Loader {
spacing: Kirigami.Units.largeSpacing spacing: Kirigami.Units.largeSpacing
KirigamiComponents.Avatar { KirigamiComponents.Avatar {
id: avatar id: avatar
source: author.avatarSource source: author.avatarUrl
Layout.preferredWidth: Kirigami.Units.gridUnit * 2 Layout.preferredWidth: Kirigami.Units.gridUnit * 2
Layout.preferredHeight: Kirigami.Units.gridUnit * 2 Layout.preferredHeight: Kirigami.Units.gridUnit * 2
Layout.alignment: Qt.AlignTop Layout.alignment: Qt.AlignTop
@@ -294,7 +294,7 @@ Loader {
Kirigami.Heading { Kirigami.Heading {
level: 3 level: 3
Layout.fillWidth: true Layout.fillWidth: true
text: currentRoom.htmlSafeMemberName(author.id) text: author.htmlSafeDisplayName
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
} }
QQC2.Label { QQC2.Label {