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
+4
-2
@@ -448,7 +448,8 @@ define([
|
||||
var myID = APP.myID;
|
||||
var myData = {};
|
||||
myData[myID] = {
|
||||
name: myUserName
|
||||
name: myUserName,
|
||||
uid: Cryptpad.getUid(),
|
||||
};
|
||||
addToUserData(myData);
|
||||
Cryptpad.setAttribute('username', newName, function (err, data) {
|
||||
@@ -652,7 +653,8 @@ define([
|
||||
} else {
|
||||
var myData = {};
|
||||
myData[info.myId] = {
|
||||
name: ""
|
||||
name: "",
|
||||
uid: Cryptpad.getUid(),
|
||||
};
|
||||
addToUserData(myData);
|
||||
APP.$userNameButton.click();
|
||||
|
||||
Reference in new issue
Block a user