diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-10 14:52:16 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-10 14:52:16 +0200 |
commit | a0f41b0d90a4da3a51fdc5b764de89328ffb4111 (patch) | |
tree | 4a8e371f5eb27ce5af4eac1c624ea9d1ac5844da | |
parent | :bug: fix Emoji missing in identify (diff) | |
download | server-a0f41b0d90a4da3a51fdc5b764de89328ffb4111.tar.xz |
:bug: fix null user in identify
-rw-r--r-- | gateway/src/opcodes/Identify.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts index 5950105a..4470857f 100644 --- a/gateway/src/opcodes/Identify.ts +++ b/gateway/src/opcodes/Identify.ts @@ -210,7 +210,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { // @ts-ignore experiments: experiments, // TODO guild_join_requests: [], // TODO what is this? - users: users.unique(), + users: users.filter((x) => x).unique(), merged_members: merged_members, // shard // TODO: only for bots sharding // application // TODO for applications |