From 8d6fcf5c8877722b2247272a33c9db4228f749b4 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 13 Mar 2020 12:18:31 -0400 Subject: [PATCH] Limit display name setting to 255 bytes --- src/gui/Pages/AccountSettings/Profile.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/Pages/AccountSettings/Profile.qml b/src/gui/Pages/AccountSettings/Profile.qml index 33591961..8e567d92 100644 --- a/src/gui/Pages/AccountSettings/Profile.qml +++ b/src/gui/Pages/AccountSettings/Profile.qml @@ -155,6 +155,7 @@ HGridLayout { id: nameField label.text: qsTr("Display name:") + field.maximumLength: 255 field.onAccepted: applyChanges() Component.onCompleted: field.text = accountInfo.display_name