mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +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
|
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) {
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue