diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-04-04 00:15:37 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-04-04 00:15:37 +1000 |
commit | a476319fb419cf2b8e9604f53b075985f2691ea6 (patch) | |
tree | 442147dfc4e26fcc32a785c14cca8db764fc56cb /src/gateway | |
parent | Respect CLIENT_STATE_V2 capability (diff) | |
download | server-a476319fb419cf2b8e9604f53b075985f2691ea6.tar.xz |
Send d: {} in heartbeat ack
Diffstat (limited to 'src/gateway')
-rw-r--r-- | src/gateway/opcodes/Heartbeat.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/Heartbeat.ts b/src/gateway/opcodes/Heartbeat.ts index 7866c3e9..b9b62be3 100644 --- a/src/gateway/opcodes/Heartbeat.ts +++ b/src/gateway/opcodes/Heartbeat.ts @@ -25,5 +25,5 @@ export async function onHeartbeat(this: WebSocket) { setHeartbeat(this); - await Send(this, { op: 11 }); + await Send(this, { op: 11, d: {} }); } |