summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-18 20:16:22 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-18 20:16:49 +1100
commitabe967a8f3bb82ddb7f782a94f970fc2db7e0e05 (patch)
treeacf7df7c85844f4d3d27cea4dbc02123d496efee
parentScript to add license preamble to each file. Also, does that. (#935) (diff)
downloadserver-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.ts1
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",