AccountSettings: fix setting display name

This commit is contained in:
miruka 2021-04-15 16:20:34 -04:00
parent 3d350910e7
commit 7a33ecdb86

View File

@ -40,7 +40,7 @@ HFlickableColumnPage {
if (nameField.item.changed) { if (nameField.item.changed) {
saveButton.nameChangeRunning = true saveButton.nameChangeRunning = true
const name = [nameField.item.text] const name = nameField.item.text
py.callClientCoro(userId, "set_displayname", [name] , () => { py.callClientCoro(userId, "set_displayname", [name] , () => {
py.callClientCoro(userId, "update_own_profile", [], () => { py.callClientCoro(userId, "update_own_profile", [], () => {