diff --git a/qml/main.qml b/qml/main.qml index 1d69c573b..cbc50cab4 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -63,7 +63,7 @@ Kirigami.ApplicationWindow { let item = null; if (currentRoom != null || invitationOpen) { roomItem.currentRoom = room; - //item = pageStack.replace(roomPage, { 'currentRoom': room, }); + pageStack.currentIndex = pageStack.depth - 1; } else { roomItem = pageStack.push(roomPage, { 'currentRoom': room, }); }