diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-30 07:24:48 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-30 07:24:48 -0400 |
commit | 330b9d62a580fbd4c79925f511ab4c2e2200ad60 (patch) | |
tree | 5bb5a5e2f44d9044a41dddb2ca6d651356b1eab3 /resources/qml/TimelineView.qml | |
parent | Don't switch room that read receipt-related stuff is opened in (diff) | |
download | nheko-330b9d62a580fbd4c79925f511ab4c2e2200ad60.tar.xz |
Move read receipts connection to allow for future pop-out room views
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index c5cc69a6..d19f2cc9 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -249,4 +249,16 @@ Item { roomid: room ? room.roomId : "" } + Connections { + function onOpenReadReceiptsDialog(rr) { + var dialog = readReceiptsDialog.createObject(timelineRoot, { + "readReceipts": rr, + "room": room + }); + dialog.show(); + } + + target: room + } + } |