Merge Backend and QMLModels
Backend.models.accounts → Backend.accounts Backend.models.roomEvents → Backend.roomEvents
This commit is contained in:
@@ -10,8 +10,9 @@ HColumnLayout {
|
||||
property string roomId: ""
|
||||
|
||||
readonly property var roomInfo:
|
||||
Backend.models.accounts.get(userId)
|
||||
.roomCategories.get(category).rooms.get(roomId)
|
||||
Backend.accounts.get(userId)
|
||||
.roomCategories.get(category)
|
||||
.rooms.get(roomId)
|
||||
|
||||
property bool canLoadPastEvents: true
|
||||
|
||||
|
@@ -10,7 +10,7 @@ HGlassRectangle {
|
||||
ListView {
|
||||
id: roomEventListView
|
||||
delegate: RoomEventDelegate {}
|
||||
model: Backend.models.roomEvents.get(chatPage.roomId)
|
||||
model: Backend.roomEvents.get(chatPage.roomId)
|
||||
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: space
|
||||
|
Reference in New Issue
Block a user