aboutsummaryrefslogtreecommitdiff
path: root/qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2020-10-12 01:06:11 +0300
committerlink2xt <link2xt@testrun.org>2020-10-12 01:06:11 +0300
commitc02c9dbb15af7598994edbcb7e13eb937bce1e6a (patch)
treeb4eaa6cb76b83877e55eed2443fbab1d381ea023 /qml
parent6b6a96a520d2a33584f9a0220da8874af5012c8b (diff)
downloadkdeltachat-c02c9dbb15af7598994edbcb7e13eb937bce1e6a.tar.gz
kdeltachat-c02c9dbb15af7598994edbcb7e13eb937bce1e6a.zip
Add basic quoting support
Diffstat (limited to 'qml')
-rw-r--r--qml/Message.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/Message.qml b/qml/Message.qml
index 32cf001..0723546 100644
--- a/qml/Message.qml
+++ b/qml/Message.qml
@@ -63,7 +63,7 @@ RowLayout {
}
TextEdit {
Layout.maximumWidth: messageObject.width > 30 ? messageObject.width - 30 : messageObject.width
- text: messageObject.message.text
+ text: (messageObject.message.quotedText ? "> " + messageObject.message.quotedText + "\n\n" : "") + messageObject.message.text
textFormat: Text.PlainText
selectByMouse: true
readOnly: true