forked from mirror/nheko
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.remotes/origin/0.7.0-dev
parent
b130b85df8
commit
2b3dc3d8b9
@ -1,7 +1,7 @@ |
|||||||
import ".." |
import ".." |
||||||
|
|
||||||
MatrixText { |
MatrixText { |
||||||
text: qsTr("unimplemented event: ") + model.type |
text: qsTr("unimplemented event: ") + model.data.type |
||||||
width: parent ? parent.width : undefined |
width: parent ? parent.width : undefined |
||||||
color: inactiveColors.text |
color: inactiveColors.text |
||||||
} |
} |
||||||
|
@ -1,6 +1,6 @@ |
|||||||
import ".." |
import ".." |
||||||
|
|
||||||
MatrixText { |
MatrixText { |
||||||
text: model.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>") |
text: model.data.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>") |
||||||
width: parent ? parent.width : undefined |
width: parent ? parent.width : undefined |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue