summary refs log tree commit diff
path: root/resources/qml/delegates/TextMessage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/delegates/TextMessage.qml')
-rw-r--r--resources/qml/delegates/TextMessage.qml9
1 files changed, 2 insertions, 7 deletions
diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml
index 713be868..990a3f5b 100644
--- a/resources/qml/delegates/TextMessage.qml
+++ b/resources/qml/delegates/TextMessage.qml
@@ -1,11 +1,6 @@
-import QtQuick 2.5
+import ".."
 
-TextEdit {
+MatrixText {
 	text: model.formattedBody
-	textFormat: TextEdit.RichText
-	readOnly: true
-	wrapMode: Text.Wrap
 	width: parent ? parent.width : undefined
-	selectByMouse: true
-	color: colors.text
 }