Fix opening room not working after the first time you log in

This commit is contained in:
Carl Schwan
2021-05-08 01:03:51 +02:00
parent 5f8795c41f
commit afa7b822f9

View File

@@ -239,7 +239,11 @@ Kirigami.ApplicationWindow {
Connections {
target: LoginHelper
function onInitialSyncFinished() {
RoomManager.roomList = pageStack.replace(roomListComponent);
pageStack.replace(roomListComponent, {
activeConnection: Controller.activeConnection
});
roomListLoaded = true;
RoomManager.loadInitialRoom();
}
}