Fix declining invitation being ignored

This commit is contained in:
miruka
2019-08-16 02:03:13 -04:00
parent 8baf336cf9
commit 653934be71
3 changed files with 7 additions and 9 deletions

View File

@@ -19,7 +19,6 @@ HPage {
modelSources[["Room", userId]] || [], "room_id", roomId
) || "waiting"
onRoomInfoChanged: {
print( JSON.stringify( roomInfo, null, 4))
if (roomInfo.left) {
// The room will most likely be gone on client restart
window.uiState.page = "Pages/Default.qml"