Skip to content

Commit

Permalink
fix(WebsocketShard): pass ignore ACK when Discord asks for a beat (#3993
Browse files Browse the repository at this point in the history
)
  • Loading branch information
didinele authored Mar 25, 2020
1 parent f2fdb93 commit 65e8c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/websocket/WebSocketShard.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ class WebSocketShard extends EventEmitter {
this.ackHeartbeat();
break;
case OPCodes.HEARTBEAT:
this.sendHeartbeat('HeartbeatRequest');
this.sendHeartbeat('HeartbeatRequest', true);
break;
default:
this.manager.handlePacket(packet, this);
Expand Down

0 comments on commit 65e8c92

Please sign in to comment.