aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2018-04-29 07:29:38 +0200
committermarzavec <admin@marzavec.com>2018-04-29 07:29:46 +0200
commit8820968c7378b03af57abce3d3a522cff318c9b9 (patch)
tree41bb23bdbddd484be3567732c531c11e31b22c32 /client
parentadded software link to readme (diff)
downloadhackchat-8820968c7378b03af57abce3d3a522cff318c9b9.tar.gz
hackchat-8820968c7378b03af57abce3d3a522cff318c9b9.zip
misc server changes and new modules
Diffstat (limited to '')
-rw-r--r--client/client.js5
1 files changed, 0 insertions, 5 deletions
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/