From 1c373031bd00857df8e71589004385b0d194b5fa Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Wed, 21 Feb 2024 18:10:32 +0100 Subject: [PATCH] Html-escape display name in user detail sheet --- src/qml/UserDetailDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/UserDetailDialog.qml b/src/qml/UserDetailDialog.qml index 34b3f56e5..b98670abe 100644 --- a/src/qml/UserDetailDialog.qml +++ b/src/qml/UserDetailDialog.qml @@ -221,7 +221,7 @@ Kirigami.Dialog { FormCard.FormButtonDelegate { visible: !root.user.isLocalUser action: Kirigami.Action { - text: root.room.connection.directChatExists(root.user.object) ? i18nc("%1 is the name of the user.", "Chat with %1", root.user.displayName) : i18n("Invite to private chat") + text: root.room.connection.directChatExists(root.user.object) ? i18nc("%1 is the name of the user.", "Chat with %1", root.user.escapedDisplayName) : i18n("Invite to private chat") icon.name: "document-send" onTriggered: { root.room.connection.openOrCreateDirectChat(root.user.object);