Fix friend removal and update user data

This commit is contained in:
yflory
2017-07-17 18:07:58 +02:00
parent 7114bfaa52
commit 009d01abde
3 changed files with 180 additions and 119 deletions

View File

@@ -53,7 +53,7 @@ define(function () {
uid: Cryptpad.getUid(),
avatar: Cryptpad.getAvatarUrl(),
profile: Cryptpad.getProfileUrl(),
edPublic: Cryptpad.getProxy().edPublic
curvePublic: Cryptpad.getProxy().curvePublic
};
addToUserData(myData);
/*Cryptpad.setAttribute('username', exp.myUserName, function (err) {
@@ -84,7 +84,7 @@ define(function () {
uid: Cryptpad.getUid(),
avatar: Cryptpad.getAvatarUrl(),
profile: Cryptpad.getProfileUrl(),
edPublic: Cryptpad.getProxy().edPublic
curvePublic: Cryptpad.getProxy().curvePublic
};
addToUserData(myData);
onLocal();