summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-09-08 15:26:46 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2019-11-23 20:06:14 +0100
commit7aca8a94304b47904f214325b969c115944296c8 (patch)
tree2b52c4c4484739052f1675381ef01515112aa77a /resources/qml/TimelineView.qml
parentImplement basic ImageMessages in qml timeline (diff)
downloadnheko-7aca8a94304b47904f214325b969c115944296c8.tar.xz
Reenable view raw message
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index 399e85eb..36701c72 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -42,11 +42,9 @@ Rectangle {
 			anchors.left: parent.left
 			anchors.right: parent.right
 			anchors.rightMargin: scrollbar.width
-			height: loader.height
 
 			Loader {
 				id: loader
-				asynchronous: false
 				Layout.fillWidth: true
 				Layout.alignment: Qt.AlignTop
 				height: item.height
@@ -135,6 +133,7 @@ Rectangle {
 					}
 					MenuItem {
 						text: "View raw message"
+						onTriggered: chat.model.viewRawMessage(model.id)
 					}
 					MenuItem {
 						text: "Redact message"