mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +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.
9 lines
237 B
QML
9 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
|
|
}
|