add uid to userdata for better notifications

This commit is contained in:
ansuz
2017-03-24 13:32:42 +01:00
parent fa9249ef29
commit 912215185f
4 changed files with 17 additions and 9 deletions

View File

@@ -213,7 +213,8 @@ define([
}
myUserName = myUserNameTemp;
myData[myID] = {
name: myUserName
name: myUserName,
uid: Cryptpad.getUid(),
};
addToUserData(myData);
Cryptpad.setAttribute('username', myUserName, function (err, data) {
@@ -592,7 +593,8 @@ define([
setName(lastName);
} else {
myData[myID] = {
name: ""
name: "",
uid: Cryptpad.getUid(),
};
addToUserData(myData);
onLocal();