AccountSettings: fix setting display name
This commit is contained in:
parent
3d350910e7
commit
7a33ecdb86
|
@ -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", [], () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user