diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-07-29 16:59:21 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-07-29 16:59:21 +1000 |
commit | a0d93fb252803c5fded8723d092ae0f394d1b40b (patch) | |
tree | 14fad3cb255ee0c6a3f82e0f9634910e79d05f95 /src/gateway | |
parent | Merge branch 'master' into feat/refactorIdentify (diff) | |
download | server-a0d93fb252803c5fded8723d092ae0f394d1b40b.tar.xz |
* call toJSON of keys in gateway when using erlpack
* dont send bitrate/etc as null when should be undefined * set user flags to number instead of string * send empty 'threads' in identify when not using new state v2
Diffstat (limited to 'src/gateway')
-rw-r--r-- | src/gateway/opcodes/Identify.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts index 837ae351..0f91df3e 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts @@ -265,6 +265,8 @@ export async function onIdentify(this: WebSocket, data: Payload) { return { ...member.guild.toJSON(), joined_at: member.joined_at, + + threads: [], }; }); |