From 8820968c7378b03af57abce3d3a522cff318c9b9 Mon Sep 17 00:00:00 2001 From: marzavec Date: Sat, 28 Apr 2018 22:29:38 -0700 Subject: misc server changes and new modules --- client/client.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'client') diff --git a/client/client.js b/client/client.js index 85e3ecb..ff2decc 100644 --- a/client/client.js +++ b/client/client.js @@ -50,11 +50,6 @@ var myChannel = window.location.search.replace(/^\?/, ''); var lastSent = [""]; var lastSentPos = 0; -// Ping server every 50 seconds to retain WebSocket connection -window.setInterval(function () { - send({ cmd: 'ping' }); -}, 50000); - function join(channel) { if (document.domain == 'hack.chat') { // For https://hack.chat/ -- cgit v1.2.1