summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-03-06 00:59:24 +0100
committerRory& <root@rory.gay>2026-03-06 00:59:24 +0100
commit378f907dcef4490c492e7f23c4d9cf95c6a1b840 (patch)
tree53ac7c9127d6d9e497d30b15da812fed38588008
parentLog creation of new sessions, fix some comments (diff)
downloadserver-ts-378f907dcef4490c492e7f23c4d9cf95c6a1b840.tar.xz
actually backpropagate session id in identify to ws object
-rw-r--r--src/gateway/opcodes/Identify.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts

index 4be3be73..9b2620e7 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();