summary refs log tree commit diff
path: root/resources/qml/delegates/Reply.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-09-03 19:51:50 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-09-16 23:49:17 +0200
commitb05c10102148a388a5abedc890db52abc70d71b5 (patch)
tree363429b6cd8613d7e9bb8deea1b4ff379b1b9c4a /resources/qml/delegates/Reply.qml
parentReenable top bar room settings menus on avatar or title clicks (diff)
downloadnheko-b05c10102148a388a5abedc890db52abc70d71b5.tar.xz
Fix null errors in qml
Diffstat (limited to 'resources/qml/delegates/Reply.qml')
-rw-r--r--resources/qml/delegates/Reply.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/delegates/Reply.qml b/resources/qml/delegates/Reply.qml
index f9fd3f11..36a6d373 100644
--- a/resources/qml/delegates/Reply.qml
+++ b/resources/qml/delegates/Reply.qml
@@ -37,7 +37,7 @@ Item {
 
 		Text { 
 			id: userName
-			text: chat.model ? chat.model.escapeEmoji(reply.modelData.userName) : ""
+			text: timelineManager.escapeEmoji(reply.modelData.userName)
 			color: replyComponent.userColor
 			textFormat: Text.RichText