summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-17 03:30:06 +0100
committerRory& <root@rory.gay>2025-12-17 03:30:06 +0100
commit9400b254925ed9c0cd02a4a7440265fabf6dd226 (patch)
tree5e7ea81ad3c57aaf2afc80a47669036e7e7ae0cd
parentCentralise ip info logic (diff)
downloadserver-ts-9400b254925ed9c0cd02a4a7440265fabf6dd226.tar.xz
forgot to clean up
-rw-r--r--src/gateway/opcodes/Identify.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts

index 99a01094..6309a00c 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts
@@ -161,14 +161,12 @@ export async function onIdentify(this: WebSocket, data: Payload) { // * the bot application, if it exists const [ { elapsed: sessionSaveTime }, - { elapsed: ipInfoUpdateTime }, { result: application, elapsed: applicationQueryTime }, { result: read_states, elapsed: read_statesQueryTime }, { result: members, elapsed: membersQueryTime }, { result: recipients, elapsed: recipientsQueryTime }, ] = await Promise.all([ timePromise(() => this.session!.save()), - updateIpInfoPromise ? updateIpInfoPromise : { elapsed: new ElapsedTime(0n) }, timePromise(() => Application.findOne({