From b1933bb1ce5c33c335e03ff4294d28e3f21d8e7b Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Fri, 23 Sep 2022 12:10:36 +1000 Subject: Add mysql sentry integration --- gateway/src/opcodes/Identify.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gateway/src/opcodes') diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts index bd36e052..d85f86a5 100644 --- a/gateway/src/opcodes/Identify.ts +++ b/gateway/src/opcodes/Identify.ts @@ -35,7 +35,7 @@ import { Recipient } from "@fosscord/util"; export async function onIdentify(this: WebSocket, data: Payload) { clearTimeout(this.readyTimeout); - if (typeof data.d?.client_state?.highest_last_message_id === "number") + if (typeof data.d?.client_state?.highest_last_message_id === "number") data.d.client_state.highest_last_message_id += ""; check.call(this, IdentifySchema, data.d); @@ -297,5 +297,5 @@ export async function onIdentify(this: WebSocket, data: Payload) { await setupListener.call(this); - console.log(`${this.ipAddress} identified as ${d.user.id}`) + console.log(`${this.ipAddress} identified as ${d.user.id}`); } -- cgit 1.5.1