Consolidate connections

This commit is contained in:
Loren Burkholder 2021-07-19 14:37:16 -04:00
parent a9ed83a1ce
commit a7bdbc2af2
2 changed files with 0 additions and 16 deletions

View file

@ -141,20 +141,14 @@ Page {
}); });
membersDialog.show(); membersDialog.show();
} }
}
Connections {
target: Rooms.currentRoom
onOpenRoomSettingsDialog: { onOpenRoomSettingsDialog: {
var roomSettings = roomSettingsComponent.createObject(timelineRoot, { var roomSettings = roomSettingsComponent.createObject(timelineRoot, {
"roomSettings": settings "roomSettings": settings
}); });
roomSettings.show(); roomSettings.show();
} }
}
Connections {
target: Rooms.currentRoom
onOpenInviteUsersDialog: { onOpenInviteUsersDialog: {
var dialog = inviteDialog.createObject(timelineRoot, { var dialog = inviteDialog.createObject(timelineRoot, {
"roomId": Rooms.currentRoom.roomId, "roomId": Rooms.currentRoom.roomId,

View file

@ -249,14 +249,4 @@ Item {
roomid: room ? room.roomId : "" roomid: room ? room.roomId : ""
} }
Connections {
target: room
onOpenRoomSettingsDialog: {
var roomSettings = roomSettingsComponent.createObject(timelineRoot, {
"roomSettings": settings
});
roomSettings.show();
}
}
} }