Update avatar on displayname change
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
a4ca92f29a
commit
0f235aec1f
|
@ -256,8 +256,14 @@ $(document).ready(function () {
|
|||
});
|
||||
|
||||
|
||||
var userSettings = new OC.Settings.UserSettings();
|
||||
var federationSettingsView = new OC.Settings.FederationSettingsView({
|
||||
el: '#personal-settings'
|
||||
el: '#personal-settings',
|
||||
config: userSettings
|
||||
});
|
||||
|
||||
userSettings.on("sync", function() {
|
||||
updateAvatar(false);
|
||||
});
|
||||
federationSettingsView.render();
|
||||
|
||||
|
|
Loading…
Reference in New Issue