Skip to content
Snippets Groups Projects
Commit f520f8ce authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Display read receipts when read indicator is clicked

parent fef042f1
No related branches found
No related tags found
No related merge requests found
Pipeline #371 passed
......@@ -6,6 +6,7 @@ Rectangle {
id: indicator
property int state: 0
property string eventId
color: "transparent"
width: 16
......@@ -31,6 +32,11 @@ Rectangle {
anchors.fill: parent
hoverEnabled: true
onClicked: {
if (indicator.state == MtxEvent.Read)
TimelineManager.timeline.readReceiptsAction(indicator.eventId);
}
}
Image {
......
......@@ -70,6 +70,7 @@ Item {
StatusIndicator {
state: model.state
eventId: model.id
Layout.alignment: Qt.AlignRight | Qt.AlignTop
Layout.preferredHeight: 16
width: 16
......
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