[SMS App] Stop ChatMessage.qml from rendering HTML

This commit is contained in:
Simon Redman 2020-06-04 10:16:54 -07:00 committed by Nicolas Fella
parent e338309ef5
commit a9f151947b

View file

@ -199,7 +199,7 @@ RowLayout {
id: bodyLabel id: bodyLabel
visible: messageBody !== "" && messageBody !== mediaGetUrl visible: messageBody !== "" && messageBody !== mediaGetUrl
text: messageBody//kaidan.utils.formatMessage(messageBody) text: messageBody//kaidan.utils.formatMessage(messageBody)
textFormat: Text.StyledText textFormat: Text.PlainText
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: sentByMe ? Kirigami.Theme.textColor color: sentByMe ? Kirigami.Theme.textColor
: Kirigami.Theme.complementaryTextColor : Kirigami.Theme.complementaryTextColor