dylannz пре 9 година
родитељ
комит
1db3e6eee9
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      lib/server.js

+ 2 - 0
lib/server.js

@@ -101,6 +101,8 @@ app._configureWS = function(socket, key, id, token) {
           dst: message.dst,
           payload: message.payload
         });
+      } else if (message.type === 'HEARTBEAT') {
+        // Ignore - nothing needs doing here.
       } else {
         util.prettyError("Message unrecognized");
       }