summary refs log tree commit diff
path: root/src/webrtc/util/WebRtcWebSocket.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-08-15 17:09:40 +0200
committerRory& <root@rory.gay>2026-08-18 12:16:45 +0200
commit6b673a2837153edf8995ea482f2ef0ad3f69efde (patch)
tree4203871a916b0c7608dfe58587f6f5ecc9ba2f37 /src/webrtc/util/WebRtcWebSocket.ts
parentFix logout api (diff)
downloadserver-ts-dev/gwsep.tar.xz
Decouple gateway connection state from inner ws object dev/gwsep
Diffstat (limited to 'src/webrtc/util/WebRtcWebSocket.ts')
-rw-r--r--src/webrtc/util/WebRtcWebSocket.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webrtc/util/WebRtcWebSocket.ts b/src/webrtc/util/WebRtcWebSocket.ts

index e36b4f1dc..8d07dfdfb 100644 --- a/src/webrtc/util/WebRtcWebSocket.ts +++ b/src/webrtc/util/WebRtcWebSocket.ts
@@ -1,7 +1,7 @@ import { WebSocket } from "@spacebar/gateway"; import type { WebRtcClient } from "@spacebarchat/spacebar-webrtc-types"; -export interface WebRtcWebSocket extends WebSocket { +export class WebRtcWebSocket extends WebSocket { type: "guild-voice" | "dm-voice" | "stream"; webRtcClient?: WebRtcClient<WebRtcWebSocket>; }