Fix display name in useradmin (friends app)

This commit is contained in:
yflory
2017-07-10 13:02:15 +02:00
parent e6188bfb63
commit 438e7e6cf9
2 changed files with 33 additions and 20 deletions

View File

@@ -56,14 +56,15 @@ define(function () {
edPublic: Cryptpad.getProxy().edPublic
};
addToUserData(myData);
Cryptpad.setAttribute('username', exp.myUserName, function (err) {
/*Cryptpad.setAttribute('username', exp.myUserName, function (err) {
if (err) {
console.log("Couldn't set username");
console.error(err);
return;
}
if (typeof cb === "function") { cb(); }
});
});*/
if (typeof cb === "function") { cb(); }
};
exp.getLastName = function ($changeNameButton, isNew) {