Ignore heartbeat messages

This commit is contained in:
dylannz 2016-02-20 13:23:54 +13:00 committed by Jairooo
parent cd058d056c
commit 1db3e6eee9

View File

@ -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");
}