Move room management from Controller to RoomManager
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user