MatrixClient: RoomMessageMedia support
This commit is contained in:
@@ -148,16 +148,14 @@ Row {
|
||||
|
||||
Repeater {
|
||||
id: previewLinksRepeater
|
||||
model: previewLinks
|
||||
model: eventDelegate.links
|
||||
|
||||
HLoader {
|
||||
Component.onCompleted: {
|
||||
if (modelData[0] == "image") {
|
||||
setSource(
|
||||
"EventImage.qml",
|
||||
{ source: modelData[1] },
|
||||
)
|
||||
}
|
||||
setSource(
|
||||
"EventImage.qml",
|
||||
{ source: modelData },
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -47,7 +47,7 @@ Column {
|
||||
readonly property bool unselectableNameLine:
|
||||
hideNameLine && ! (onRight && ! combine)
|
||||
|
||||
readonly property var previewLinks: model.preview_links
|
||||
readonly property var links: model.links
|
||||
|
||||
|
||||
function json() {
|
||||
|
Reference in New Issue
Block a user