summary refs log tree commit diff
path: root/src/gateway
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-01-29 20:37:08 +0100
committerRory& <root@rory.gay>2026-01-29 20:37:08 +0100
commitb97e9e03a0ec42e05eaec0b830a0018d650d0c8e (patch)
tree5c0c665310aefbb992ab24357446ffd4473bb40d /src/gateway
parentChannel/thread util methods ported from #876 (diff)
downloadserver-ts-b97e9e03a0ec42e05eaec0b830a0018d650d0c8e.tar.xz
READY changes for threads ported from #876
Diffstat (limited to 'src/gateway')
-rw-r--r--src/gateway/opcodes/Identify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts

index be52450a..e9b91a3d 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts
@@ -450,7 +450,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { ...member.guild.toJSON(), joined_at: member.joined_at, - threads: [], + threads: member.guild.channels.filter((x) => x.isThread()), }; }); const generateGuildsListTime = taskSw.getElapsedAndReset();