Fix starting Mirage when initial page isn't a chat

This commit is contained in:
miruka 2020-09-03 11:08:31 -04:00
parent 462d3972ff
commit 2b45c07819

View File

@ -82,14 +82,7 @@ HLoader {
return
}
const page = window.uiState.page
const props = window.uiState.pageProperties
if (page === "Pages/Chat/Chat.qml") {
pageLoader.showRoom(props.userId, props.roomId)
} else {
pageLoader._show(page, props)
}
pageLoader.showPage(window.uiState.page, window.uiState.pageProperties)
}
HNumberAnimation {