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
commit1ab279e2ef87bfb5054b7239ee65a898e4fde604 (patch)
tree18d58201cc4e59b8acb9c20647bea9654b490c04
parentScript to add license preamble to each file. Also, does that. (#935) (diff)
downloadserver-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.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",