mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 04:06:37 +02:00
Ensure the browser doesn't send socket.io message with the browser version
This commit is contained in:
parent
783203b865
commit
bcaadfa6eb
@ -126,8 +126,8 @@ function handshake()
|
||||
receivedClientVars = true;
|
||||
|
||||
clientVars = obj;
|
||||
clientVars.userAgent = navigator.userAgent;
|
||||
clientVars.collab_client_vars.clientAgent = navigator.userAgent;
|
||||
clientVars.userAgent = "Anonymous";
|
||||
clientVars.collab_client_vars.clientAgent = "Anonymous";
|
||||
|
||||
pad.init();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user