From 8a7ee8c8a93bff0e90f88105932f0015eeedbbaa Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Mon, 21 Aug 2023 23:57:44 +1000 Subject: what the fuck is session_id: "all"??? --- src/gateway/opcodes/Identify.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gateway/opcodes/Identify.ts') 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, })); -- cgit 1.4.1