From 378f907dcef4490c492e7f23c4d9cf95c6a1b840 Mon Sep 17 00:00:00 2001 From: Rory& Date: Fri, 6 Mar 2026 00:59:24 +0100 Subject: [PATCH] actually backpropagate session id in identify to ws object --- src/gateway/opcodes/Identify.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts index 4be3be739..9b2620e77 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts @@ -164,6 +164,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { "opt for token refresh.", ); + this.session_id = session.session_id; this.session = session; this.session.status = identify.presence?.status || "online"; this.session.last_seen = new Date();