Other user read markers

Add the ability to see other user's read markers. 

![image](/uploads/a4bdc35a60ab10685c7d3ea4d9b13c87/image.png)

Implements network/neochat#133
This commit is contained in:
James Graham
2023-03-13 15:12:46 +00:00
parent 5a02448326
commit 23303c0483
6 changed files with 123 additions and 0 deletions

View File

@@ -338,6 +338,13 @@ ColumnLayout {
visible: eventType !== MessageEventModel.State && eventType !== MessageEventModel.Notice && reaction != undefined && reaction.length > 0
}
AvatarFlow {
Layout.alignment: Qt.AlignRight
Layout.rightMargin: Kirigami.Units.largeSpacing
visible: showReadMarkers
model: readMarkers
toolTipText: readMarkersString
}
function isVisibleInTimeline() {
let yoff = Math.round(y - ListView.view.contentY);