summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-07-30 07:24:48 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-30 07:24:48 -0400
commit330b9d62a580fbd4c79925f511ab4c2e2200ad60 (patch)
tree5bb5a5e2f44d9044a41dddb2ca6d651356b1eab3 /resources/qml/TimelineView.qml
parentDon't switch room that read receipt-related stuff is opened in (diff)
downloadnheko-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.qml12
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
+    }
+
 }