Fix debug initialRoomTimer causing segfaults

This commit is contained in:
miruka 2019-07-08 12:39:58 -04:00
parent 4314767ac2
commit e827c9fba2

View File

@ -15,6 +15,7 @@ Item {
target: py
onWillLoadAccounts: function(will) {
pageStack.showPage(will ? "Default" : "SignIn")
if (will) {initialRoomTimer.start()}
}
}
@ -82,11 +83,10 @@ Item {
pageStack.replace("Chat/Chat.qml", {"roomInfo": info})
}
Component.onCompleted: initialRoomTimer.start()
Timer {
// TODO: remove this, debug
id: initialRoomTimer
interval: 3000
interval: 4000
repeat: false
onTriggered: pageStack.showRoom(
"@test_mary:matrix.org",