🐛 fix member + member list

This commit is contained in:
Flam3rboy
2021-09-03 03:37:55 +02:00
parent 7b607c6bbd
commit acb5fba488
16 changed files with 183 additions and 156 deletions
+1
View File
@@ -3,6 +3,7 @@ import { Message } from "./Message";
import { Session } from "@fosscord/util";
export async function Close(this: WebSocket, code: number, reason: string) {
console.log("[WebSocket] closed", code, reason);
await Session.delete({ session_id: this.session_id });
// @ts-ignore
this.off("message", Message);