Make Event.inline_content & links pure attrs

This commit is contained in:
miruka
2020-02-11 17:32:22 -04:00
parent 8a29143b60
commit e982de1c61
3 changed files with 34 additions and 31 deletions

View File

@@ -172,7 +172,10 @@ HRowLayout {
HRepeater {
id: linksRepeater
model: JSON.parse(eventDelegate.currentModel.links)
model: [
eventDelegate.currentModel.media_url,
...JSON.parse(eventDelegate.currentModel.links),
]
EventMediaLoader {
singleMediaInfo: eventDelegate.currentModel