diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-08-21 23:57:44 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-08-21 23:57:44 +1000 |
commit | 8a7ee8c8a93bff0e90f88105932f0015eeedbbaa (patch) | |
tree | 8ffaa0a782b559550c3e50b7dd5b9a61b5bac4ab /src/gateway | |
parent | Close #1091 (diff) | |
download | server-8a7ee8c8a93bff0e90f88105932f0015eeedbbaa.tar.xz |
what the fuck is session_id: "all"???
Diffstat (limited to 'src/gateway')
-rw-r--r-- | src/gateway/opcodes/Identify.ts | 3 |
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, })); |