Skip to content
Snippets Groups Projects
Unverified Commit f45fda36 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

messagelistview: show initial message

GitLab: #340
Change-Id: I209fc67c1bf64cd91b8b6fb9bc1d5bd651b10eb3
parent 9b275c4c
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ Column {
property bool showTime: false
property int seq: MsgSeq.single
property alias font: textLabel.font
width: ListView.view ? ListView.view.width : 0
......@@ -38,6 +39,7 @@ Column {
bottomPadding: 12
Label {
id: textLabel
width: parent.width
text: Body
horizontalAlignment: Qt.AlignHCenter
......
......@@ -223,6 +223,18 @@ JamiListView {
}
}
}
DelegateChoice {
roleValue: Interaction.Type.INITIAL
GeneratedMessageDelegate {
font.bold: true
Component.onCompleted: {
if (index)
computeTimestampVisibility(this, index)
else
Qt.callLater(computeTimestampVisibility, this, index)
}
}
}
DelegateChoice {
roleValue: Interaction.Type.DATA_TRANSFER
DataTransferMessageDelegate {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment