summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-21 23:57:44 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-21 23:57:44 +1000
commit8a7ee8c8a93bff0e90f88105932f0015eeedbbaa (patch)
tree8ffaa0a782b559550c3e50b7dd5b9a61b5bac4ab /src
parentClose #1091 (diff)
downloadserver-8a7ee8c8a93bff0e90f88105932f0015eeedbbaa.tar.xz
what the fuck is session_id: "all"???
Diffstat (limited to 'src')
-rw-r--r--src/gateway/opcodes/Identify.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts
index 0f5469cf..e097e44c 100644
--- a/src/gateway/opcodes/Identify.ts
+++ b/src/gateway/opcodes/Identify.ts
@@ -334,8 +334,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
 		active: x.session_id == session.session_id,
 		activities: x.activities ?? [],
 		client_info: x.client_info,
-		// TODO: what does all mean?
-		session_id: x.session_id == session.session_id ? "all" : x.session_id,
+		session_id: x.session_id, // TODO: discord.com sends 'all', what is that???
 		status: x.status,
 	}));