Move room management from Controller to RoomManager

This commit is contained in:
Carl Schwan
2021-05-08 01:17:19 +02:00
parent afa7b822f9
commit 873ab328dc
6 changed files with 6 additions and 22 deletions

View File

@@ -289,18 +289,10 @@ Kirigami.ApplicationWindow {
root.showWindow()
}
function onOpenRoom(room) {
RoomManager.enterRoom(room)
}
function onUserConsentRequired(url) {
consentSheet.url = url
consentSheet.open()
}
function onRoomJoined(roomName) {
RoomManager.enterRoom(Controller.activeConnection.room(roomName))
}
}
Connections {