summary refs log tree commit diff
path: root/gateway/src/util/WebSocket.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-16 12:54:02 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-16 13:19:33 +1000
commit493c21968b2758fe987e63a7b7750427c726068d (patch)
tree0fe5e7d17f99374fdfb4bb1b13c310b959a9c393 /gateway/src/util/WebSocket.ts
parentPerhaps a message create perf test? (diff)
downloadserver-493c21968b2758fe987e63a7b7750427c726068d.tar.xz
Probably broken merge from webrtc
Diffstat (limited to '')
-rw-r--r--gateway/src/util/WebSocket.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/gateway/src/util/WebSocket.ts b/gateway/src/util/WebSocket.ts

index 7ac277a8..d549ec77 100644 --- a/gateway/src/util/WebSocket.ts +++ b/gateway/src/util/WebSocket.ts
@@ -1,6 +1,7 @@ import { Intents, Permissions } from "@fosscord/util"; import WS from "ws"; import { Deflate, Inflate } from "fast-zlib"; +import { Client } from "@fosscord/webrtc"; export interface WebSocket extends WS { version: number; @@ -21,4 +22,5 @@ export interface WebSocket extends WS { events: Record<string, Function>; member_events: Record<string, Function>; listen_options: any; + client?: Client; }