Room subtitle: show member but not profile events

Instead of not showing any kind of RoomMemberEvent.
This commit is contained in:
miruka
2019-08-16 01:51:42 -04:00
parent 729235fe6a
commit 8baf336cf9
3 changed files with 47 additions and 18 deletions

View File

@@ -19,6 +19,7 @@ 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"