add uid to userdata for better notifications
This commit is contained in:
1 parent
fa9249ef29
commit
912215185f
4 files changed
+17
-9
No files matched your search
+5
-3
@@ -310,7 +310,8 @@ define([
|
||||
}
|
||||
myUserName = myUserNameTemp;
|
||||
myData[myID] = {
|
||||
name: myUserName
|
||||
name: myUserName,
|
||||
uid: Cryptpad.getUid(),
|
||||
};
|
||||
addToUserData(myData);
|
||||
Cryptpad.setAttribute('username', newName, function (err, data) {
|
||||
@@ -713,7 +714,8 @@ define([
|
||||
setName(lastName);
|
||||
} else {
|
||||
myData[myID] = {
|
||||
name: ""
|
||||
name: "",
|
||||
uid: Cryptpad.getUid()
|
||||
};
|
||||
addToUserData(myData);
|
||||
realtimeOptions.onLocal();
|
||||
@@ -724,7 +726,7 @@ define([
|
||||
if (newPad) {
|
||||
cursor.setToEnd();
|
||||
} else {
|
||||
cursor.setToFix();
|
||||
cursor.setToStart();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user