add random numbers to users without a name
This commit is contained in:
parent
3b857865c4
commit
95099e3818
@ -1,7 +1,7 @@
|
||||
var whiteboardId = getQueryVariable("whiteboardid");
|
||||
whiteboardId = whiteboardId || "myNewWhiteboard";
|
||||
var myUsername = getQueryVariable("username");
|
||||
myUsername = myUsername || "unkonwn";
|
||||
myUsername = myUsername || "unkonwn"+(Math.random()+"").substring(2,6);
|
||||
|
||||
var url = document.URL.substr(0,document.URL.lastIndexOf('/'));
|
||||
var signaling_socket = null;
|
||||
|
Loading…
Reference in New Issue
Block a user