mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Move read receipts connection to allow for future pop-out room views
This commit is contained in:
parent
135622e14e
commit
330b9d62a5
2 changed files with 12 additions and 12 deletions
|
@ -172,18 +172,6 @@ Page {
|
|||
target: TimelineManager
|
||||
}
|
||||
|
||||
Connections {
|
||||
function onOpenReadReceiptsDialog(rr) {
|
||||
var dialog = readReceiptsDialog.createObject(timelineRoot, {
|
||||
"readReceipts": rr,
|
||||
"room": Rooms.currentRoom
|
||||
});
|
||||
dialog.show();
|
||||
}
|
||||
|
||||
target: Rooms.currentRoom
|
||||
}
|
||||
|
||||
Connections {
|
||||
function onNewInviteState() {
|
||||
if (CallManager.haveCallInvite && Settings.mobileMode) {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue