Adjust some socket.io settings (#780)
This commit is contained in:
parent
1f28c0b87d
commit
f6a58d00b2
3 changed files with 48 additions and 2 deletions
|
|
@ -35,6 +35,10 @@ Callbacks = {
|
|||
scrollChat();
|
||||
},
|
||||
|
||||
reconnect: function () {
|
||||
socket.emit("reportReconnect");
|
||||
},
|
||||
|
||||
// Socket.IO error callback
|
||||
error: function (msg) {
|
||||
window.SOCKET_ERROR_REASON = msg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue