New WIP image provider.

This commit is contained in:
Black Hat
2019-01-04 20:17:26 +08:00
parent ec43131a10
commit c46d38e38e
13 changed files with 135 additions and 104 deletions

View File

@@ -62,7 +62,7 @@ Item {
id: roomHeader
avatar: currentRoom ? currentRoom.avatarUrl : ""
avatar: currentRoom ? currentRoom.avatarMediaId : ""
topic: currentRoom ? (currentRoom.topic).replace(/(\r\n\t|\n|\r\t)/gm,"") : ""
atTop: messageListView.atYBeginning
@@ -386,7 +386,7 @@ Item {
Layout.preferredWidth: 24
Layout.preferredHeight: 24
source: modelData.avatarUrl
source: modelData.avatarMediaId
hint: modelData.displayName
}
}