summaryrefslogtreecommitdiffstats
path: root/resources/qml/ReplyPopup.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-10-18 22:43:45 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-10-18 22:43:45 +0200
commit78fac7dced05c8c020aa84d3e403dd72ecf76027 (patch)
treec1928873f1854bc8e903f8bc39f581c6c2a1c8bc /resources/qml/ReplyPopup.qml
parentfab78056104eae4149d54514c273936f8f48c36f (diff)
Small qml fixes
Diffstat (limited to 'resources/qml/ReplyPopup.qml')
-rw-r--r--resources/qml/ReplyPopup.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/ReplyPopup.qml b/resources/qml/ReplyPopup.qml
index 5657c08a..17ce7ee4 100644
--- a/resources/qml/ReplyPopup.qml
+++ b/resources/qml/ReplyPopup.qml
@@ -29,7 +29,7 @@ Rectangle {
anchors.rightMargin: replyPopup.width < 450 ? 2 * (22 + 16) : 3 * (22 + 16)
anchors.top: parent.top
anchors.topMargin: Nheko.paddingSmall
- eventId: room.reply ?? ""
+ eventId: room?.reply ?? ""
userColor: TimelineManager.userColor(modelData.userId, palette.window)
visible: room && room.reply
maxWidth: parent.width - anchors.leftMargin - anchors.rightMargin