From fd83858715dfde7ad61284200821c0357d68ebf8 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 21 Mar 2022 00:48:27 +0100 Subject: Add duration and resolution to files --- resources/qml/delegates/MessageDelegate.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'resources/qml/delegates/MessageDelegate.qml') diff --git a/resources/qml/delegates/MessageDelegate.qml b/resources/qml/delegates/MessageDelegate.qml index 08b2098e..0e211ded 100644 --- a/resources/qml/delegates/MessageDelegate.qml +++ b/resources/qml/delegates/MessageDelegate.qml @@ -18,6 +18,7 @@ Item { required property int type required property string typeString required property int originalWidth + required property int duration required property string blurhash required property string body required property string formattedBody @@ -161,6 +162,7 @@ Item { url: d.url body: d.body filesize: d.filesize + duration: d.duration metadataWidth: d.metadataWidth } @@ -178,6 +180,7 @@ Item { url: d.url body: d.body filesize: d.filesize + duration: d.duration metadataWidth: d.metadataWidth } -- cgit 1.4.1