diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-18 20:16:22 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-18 20:16:49 +1100 |
commit | 1ab279e2ef87bfb5054b7239ee65a898e4fde604 (patch) | |
tree | 18d58201cc4e59b8acb9c20647bea9654b490c04 | |
parent | Script to add license preamble to each file. Also, does that. (#935) (diff) | |
download | server-1ab279e2ef87bfb5054b7239ee65a898e4fde604.tar.xz |
Don't fetch the emoji owner in identify, as this causes mass-disconnects with large emoji counts.
TODO: Remove some additional emoji props from being sent (user_id for example)
-rw-r--r-- | src/gateway/opcodes/Identify.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts index 4710cef6..8d762967 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts @@ -90,7 +90,6 @@ export async function onIdentify(this: WebSocket, data: Payload) { "guild", "guild.channels", "guild.emojis", - "guild.emojis.user", "guild.roles", "guild.stickers", "user", |