Adjust some socket.io settings (#780)

This commit is contained in:
Calvin Montgomery 2018-11-07 21:23:00 -08:00
parent 1f28c0b87d
commit f6a58d00b2
3 changed files with 48 additions and 2 deletions

View file

@ -35,6 +35,10 @@ Callbacks = {
scrollChat();
},
reconnect: function () {
socket.emit("reportReconnect");
},
// Socket.IO error callback
error: function (msg) {
window.SOCKET_ERROR_REASON = msg;