Show LeftBanner with a generic left text

This commit is contained in:
miruka
2019-07-06 23:43:51 -04:00
parent 3ff0e1bd70
commit 03d9079d63
8 changed files with 42 additions and 33 deletions

View File

@@ -14,8 +14,8 @@ HColumnLayout {
{"userId": userId, "roomId": roomId, "category": category}, 1
)[0]
readonly property var sender:
users.getWhere({"userId": userId}, 1)[0]
readonly property var sender: //TODO: info$
users.getUser(userId)
readonly property bool hasUnknownDevices: false
//category == "Rooms" ?
@@ -73,10 +73,10 @@ HColumnLayout {
visible: category == "Rooms" && ! hasUnknownDevices
}
//LeftBanner {
//visible: category == "Left"
//leftEvent: roomInfo.leftEvent
//}
LeftBanner {
visible: category == "Left"
userId: chatPage.userId
}
}
// RoomSidePane {