From 7a33ecdb86329037548a924d8aa63786b23f4928 Mon Sep 17 00:00:00 2001 From: miruka Date: Thu, 15 Apr 2021 16:20:34 -0400 Subject: [PATCH] AccountSettings: fix setting display name --- src/gui/Pages/AccountSettings/General.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Pages/AccountSettings/General.qml b/src/gui/Pages/AccountSettings/General.qml index 0490bd62..b58ed7fc 100644 --- a/src/gui/Pages/AccountSettings/General.qml +++ b/src/gui/Pages/AccountSettings/General.qml @@ -40,7 +40,7 @@ HFlickableColumnPage { if (nameField.item.changed) { saveButton.nameChangeRunning = true - const name = [nameField.item.text] + const name = nameField.item.text py.callClientCoro(userId, "set_displayname", [name] , () => { py.callClientCoro(userId, "update_own_profile", [], () => {