summary refs log tree commit diff
path: root/resources/qml/TimelineRow.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-12-03 02:26:41 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2019-12-03 02:48:29 +0100
commitb8f6e4ce6462f074c34a8b7a286cbabe0e2897aa (patch)
treef332456d90fe7cd318804993f41301265317a6b1 /resources/qml/TimelineRow.qml
parentRename qml namespace from com.github.nheko to im.nheko (diff)
downloadnheko-b8f6e4ce6462f074c34a8b7a286cbabe0e2897aa.tar.xz
Add encrypted file download
Diffstat (limited to 'resources/qml/TimelineRow.qml')
-rw-r--r--resources/qml/TimelineRow.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index 4917e893..2c2ed02a 100644
--- a/resources/qml/TimelineRow.qml
+++ b/resources/qml/TimelineRow.qml
@@ -97,7 +97,7 @@ RowLayout {
 			MenuItem {
 				visible: model.type == MtxEvent.ImageMessage || model.type == MtxEvent.VideoMessage || model.type == MtxEvent.AudioMessage || model.type == MtxEvent.FileMessage || model.type == MtxEvent.Sticker
 				text: qsTr("Save as")
-				onTriggered: timelineManager.saveMedia(model.url, model.filename, model.mimetype, model.type)
+				onTriggered: timelineManager.timeline.saveMedia(model.id)
 			}
 		}
 	}