summary refs log tree commit diff
path: root/src/gateway
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-04-04 00:15:37 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-04-04 00:15:37 +1000
commita476319fb419cf2b8e9604f53b075985f2691ea6 (patch)
tree442147dfc4e26fcc32a785c14cca8db764fc56cb /src/gateway
parentRespect CLIENT_STATE_V2 capability (diff)
downloadserver-a476319fb419cf2b8e9604f53b075985f2691ea6.tar.xz
Send d: {} in heartbeat ack
Diffstat (limited to 'src/gateway')
-rw-r--r--src/gateway/opcodes/Heartbeat.ts2
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: {} });
 }