"knock knock. who's there? ack lol. GET OFF MY PORCH!" (#1023)

This commit is contained in:
Gus Caplan
2016-12-27 11:31:23 -06:00
committed by Amish Shah
parent bac4ccead7
commit 779681e88f

View File

@@ -96,8 +96,8 @@ class WebSocketPacketManager {
}
if (packet.op === Constants.OPCodes.HEARTBEAT) {
this.client.ws.send({ op: Constants.OPCodes.HEARTBEAT_ACK });
this.ws.client.emit('debug', 'ACKed gateway heartbeat!');
this.client.ws.send({ op: Constants.OPCodes.HEARTBEAT });
this.ws.client.emit('debug', 'Recieved gateway heartbeat!');
}
if (this.ws.status === Constants.Status.RECONNECTING) {