summary refs log tree commit diff
path: root/src/gateway/util/WebSocket.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-06 23:29:08 +1000
committerGitHub <noreply@github.com>2023-08-06 23:29:08 +1000
commit549979372b3d080c133f845b2fa9b6d8645d7875 (patch)
tree0985cb4c204956e4246e23180e3d471fef92ba9a /src/gateway/util/WebSocket.ts
parentgoof (diff)
parentremove pomelo disclose, to be added in pomelo impl pr (diff)
downloadserver-549979372b3d080c133f845b2fa9b6d8645d7875.tar.xz
Merge pull request #966 from spacebarchat/feat/refactorIdentify
Rewrite identify handler
Diffstat (limited to 'src/gateway/util/WebSocket.ts')
-rw-r--r--src/gateway/util/WebSocket.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gateway/util/WebSocket.ts b/src/gateway/util/WebSocket.ts

index 972129c7..833756ff 100644 --- a/src/gateway/util/WebSocket.ts +++ b/src/gateway/util/WebSocket.ts
@@ -19,6 +19,7 @@ import { Intents, ListenEventOpts, Permissions } from "@spacebar/util"; import WS from "ws"; import { Deflate, Inflate } from "fast-zlib"; +import { Capabilities } from "./Capabilities"; // import { Client } from "@spacebar/webrtc"; export interface WebSocket extends WS { @@ -40,5 +41,6 @@ export interface WebSocket extends WS { events: Record<string, undefined | (() => unknown)>; member_events: Record<string, () => unknown>; listen_options: ListenEventOpts; + capabilities?: Capabilities; // client?: Client; }