mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-31 10:00:46 +03:00
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.
6 lines
158 B
QML
6 lines
158 B
QML
import ".."
|
|
|
|
MatrixText {
|
|
text: model.data.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>")
|
|
width: parent ? parent.width : undefined
|
|
}
|