summary refs log tree commit diff
path: root/gateway/src
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
commit71d22a193b96e7fc6c0736d1cf5a338838972e3b (patch)
tree007fd867d4a891717b7a10518c91aa865ee5a7bb /gateway/src
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-71d22a193b96e7fc6c0736d1cf5a338838972e3b.tar.xz
Merge branch 'maddyrtc' into slowcord
Diffstat (limited to 'gateway/src')
-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 += "";