Show event type for hidden events

This commit is contained in:
Tobias Fella
2025-04-20 15:17:58 +02:00
parent f4799a4287
commit 5262ec4b56
3 changed files with 9 additions and 1 deletions

View File

@@ -28,6 +28,8 @@ TimelineDelegate {
*/
required property NeochatRoomMember author
required property string eventType
width: parent?.width
rightPadding: NeoChatConfig.compactLayout && root.ListView.view.width >= Kirigami.Units.gridUnit * 20 ? Kirigami.Units.gridUnit * 2 + Kirigami.Units.largeSpacing : Kirigami.Units.largeSpacing
@@ -53,7 +55,7 @@ TimelineDelegate {
}
QQC2.Label {
Layout.fillWidth: true
text: root.author.displayName + " : " + root.eventId
text: root.author.displayName + ": " + root.eventType + " " + root.eventId
color: Kirigami.Theme.disabledTextColor
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight