mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 12:42:44 +01:00
🐛 fix null user in identify
This commit is contained in:
parent
82205520ed
commit
d430e74296
@ -210,7 +210,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
experiments: experiments, // TODO
|
experiments: experiments, // TODO
|
||||||
guild_join_requests: [], // TODO what is this?
|
guild_join_requests: [], // TODO what is this?
|
||||||
users: users.unique(),
|
users: users.filter((x) => x).unique(),
|
||||||
merged_members: merged_members,
|
merged_members: merged_members,
|
||||||
// shard // TODO: only for bots sharding
|
// shard // TODO: only for bots sharding
|
||||||
// application // TODO for applications
|
// application // TODO for applications
|
||||||
|
Loading…
Reference in New Issue
Block a user