summary refs log tree commit diff
path: root/gateway/src/opcodes
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-11 19:14:05 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-11 19:14:05 +1000
commita1a4fb3b74f3a5321880a81a23081bfdd2ea8358 (patch)
treeb3246df315750ab021831c68b1f547b6bdd89022 /gateway/src/opcodes
parentChange bundle start to only start listening once DB and config have been loaded (diff)
parentMerge branch 'maddyrtc' of github.com:MaddyUnderStars/fosscord-server into ma... (diff)
downloadserver-a1a4fb3b74f3a5321880a81a23081bfdd2ea8358.tar.xz
Merge branch 'maddyrtc' into slowcord
Diffstat (limited to 'gateway/src/opcodes')
-rw-r--r--gateway/src/opcodes/Identify.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts

index 301f714d..becc6e9a 100644 --- a/gateway/src/opcodes/Identify.ts +++ b/gateway/src/opcodes/Identify.ts
@@ -34,6 +34,8 @@ import { Recipient } from "@fosscord/util"; // TODO: check if already identified export async function onIdentify(this: WebSocket, data: Payload) { + console.log(data); + clearTimeout(this.readyTimeout); if (typeof data.d?.client_state?.highest_last_message_id === "number") data.d.client_state.highest_last_message_id += "";