Fix profile not updating the user name

This commit is contained in:
yflory
2019-05-27 15:45:26 +02:00
parent 8641eca34b
commit 61161c034c
3 changed files with 4 additions and 6 deletions

View File

@@ -660,8 +660,8 @@ define([
});
});*/
}
if (store.profile) {
store.profile.setName(value);
if (store.modules['profile']) {
store.modules['profile'].setName(value);
}
store.proxy[Constants.displayNameKey] = value;
broadcast([clientId], "UPDATE_METADATA");