Move read receipts connection to allow for future pop-out room views

This commit is contained in:
Loren Burkholder 2021-07-30 07:24:48 -04:00
parent 135622e14e
commit 330b9d62a5
2 changed files with 12 additions and 12 deletions

View file

@ -172,18 +172,6 @@ Page {
target: TimelineManager target: TimelineManager
} }
Connections {
function onOpenReadReceiptsDialog(rr) {
var dialog = readReceiptsDialog.createObject(timelineRoot, {
"readReceipts": rr,
"room": Rooms.currentRoom
});
dialog.show();
}
target: Rooms.currentRoom
}
Connections { Connections {
function onNewInviteState() { function onNewInviteState() {
if (CallManager.haveCallInvite && Settings.mobileMode) { if (CallManager.haveCallInvite && Settings.mobileMode) {

View file

@ -249,4 +249,16 @@ Item {
roomid: room ? room.roomId : "" roomid: room ? room.roomId : ""
} }
Connections {
function onOpenReadReceiptsDialog(rr) {
var dialog = readReceiptsDialog.createObject(timelineRoot, {
"readReceipts": rr,
"room": room
});
dialog.show();
}
target: room
}
} }