2b3dc3d8b9
This currently assumes the event, that is replied to, is already fetched. If it isn't, it will render an empty reply. In the future we should fetch replies before rendering them.
10 lines
237 B
QML
10 lines
237 B
QML
import ".."
|
|
|
|
MatrixText {
|
|
property string notice: model.data.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>")
|
|
text: notice
|
|
width: parent ? parent.width : undefined
|
|
font.italic: true
|
|
color: inactiveColors.text
|
|
}
|