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 | abe967a8f3bb82ddb7f782a94f970fc2db7e0e05 (patch) | |
tree | acf7df7c85844f4d3d27cea4dbc02123d496efee | |
parent | Script to add license preamble to each file. Also, does that. (#935) (diff) | |
download | server-abe967a8f3bb82ddb7f782a94f970fc2db7e0e05.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", |