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
commit690faeb52cc57805d4ef30fb3e5375ddc09f41fe (patch)
treed3469bb8af6f8b0ad7c5e8e819fe33c2dacbdcd9 /gateway/src/util/WebSocket.ts
parentPerhaps a message create perf test? (diff)
downloadserver-690faeb52cc57805d4ef30fb3e5375ddc09f41fe.tar.xz
Probably broken merge from webrtc
Diffstat (limited to 'gateway/src/util/WebSocket.ts')
-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; }