mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 14:39:53 +01:00
Ensure the browser doesn't send socket.io message with the browser version
This commit is contained in:
parent
783203b865
commit
bcaadfa6eb
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ function handshake()
|
||||||
receivedClientVars = true;
|
receivedClientVars = true;
|
||||||
|
|
||||||
clientVars = obj;
|
clientVars = obj;
|
||||||
clientVars.userAgent = navigator.userAgent;
|
clientVars.userAgent = "Anonymous";
|
||||||
clientVars.collab_client_vars.clientAgent = navigator.userAgent;
|
clientVars.collab_client_vars.clientAgent = "Anonymous";
|
||||||
|
|
||||||
pad.init();
|
pad.init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue