Merge branch 'feat/mobile' into slowcord

This commit is contained in:
Madeline
2022-07-10 22:01:13 +10:00
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -35,6 +35,8 @@ 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")
data.d.client_state.highest_last_message_id += "";
check.call(this, IdentifySchema, data.d);
const identify: IdentifySchema = data.d;