1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 10:52:31 +01:00

Remove a console log from the maddyrtc branch

This commit is contained in:
Madeline 2022-07-13 20:34:02 +10:00
parent f5943cec8d
commit 46b359f21a
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -34,8 +34,6 @@ import { Recipient } from "@fosscord/util";
// TODO: check if already identified // TODO: check if already identified
export async function onIdentify(this: WebSocket, data: Payload) { export async function onIdentify(this: WebSocket, data: Payload) {
console.log(data);
clearTimeout(this.readyTimeout); 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 += ""; data.d.client_state.highest_last_message_id += "";