1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00

what the fuck is session_id: "all"???

This commit is contained in:
Madeline 2023-08-21 23:57:44 +10:00
parent ccc774168a
commit 8a7ee8c8a9
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -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,
}));