From 279ec10081f245f4d5bbca8b63485c841f619e35 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Tue, 19 Jul 2022 07:21:26 +0200 Subject: State update, havent tested --- gateway/src/opcodes/LazyRequest.ts | 2 -- gateway/src/opcodes/instanceOf.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'gateway/src/opcodes') diff --git a/gateway/src/opcodes/LazyRequest.ts b/gateway/src/opcodes/LazyRequest.ts index 7503ee61..dd96d6d7 100644 --- a/gateway/src/opcodes/LazyRequest.ts +++ b/gateway/src/opcodes/LazyRequest.ts @@ -4,9 +4,7 @@ import { Send } from "../util/Send"; import { OPCODES } from "../util/Constants"; import { WebSocket, Payload, handlePresenceUpdate } from "@fosscord/gateway"; import { check } from "./instanceOf"; -import "missing-native-js-functions"; import { getRepository } from "typeorm"; -import "missing-native-js-functions"; // TODO: only show roles/members that have access to this channel // TODO: config: to list all members (even those who are offline) sorted by role, or just those who are online diff --git a/gateway/src/opcodes/instanceOf.ts b/gateway/src/opcodes/instanceOf.ts index 6fd50852..eb6f6ea1 100644 --- a/gateway/src/opcodes/instanceOf.ts +++ b/gateway/src/opcodes/instanceOf.ts @@ -1,4 +1,4 @@ -import { instanceOf } from "lambert-server"; +import { instanceOf } from "@fosscord/util"; import { WebSocket } from "@fosscord/gateway"; import { CLOSECODES } from "../util/Constants"; -- cgit 1.5.1