summary refs log tree commit diff
path: root/src/gateway/opcodes/StreamDelete.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-08-15 17:09:40 +0200
committerRory& <root@rory.gay>2026-08-15 17:15:40 +0200
commit9f5f2a2c3b71550f21f75500534bf1332b94f771 (patch)
tree4572ef19b7e25fee06da36a62105b197cb45fade /src/gateway/opcodes/StreamDelete.ts
parentAllow avatar_description field in profile update (diff)
downloadserver-ts-github/dev/gwsep.tar.xz
Decouple gateway connection state from inner ws object github/dev/gwsep dev/gwsep
Diffstat (limited to 'src/gateway/opcodes/StreamDelete.ts')
-rw-r--r--src/gateway/opcodes/StreamDelete.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/StreamDelete.ts b/src/gateway/opcodes/StreamDelete.ts

index 82d09538..773b6508 100644 --- a/src/gateway/opcodes/StreamDelete.ts +++ b/src/gateway/opcodes/StreamDelete.ts
@@ -37,7 +37,7 @@ export async function onStreamDelete(this: WebSocket, data: Payload) { try { parsedKey = parseStreamKey(body.stream_key); } catch (e) { - return this.close(4000, "Invalid stream key"); + return this.rawSocket.close(4000, "Invalid stream key"); } // noinspection JSUnusedLocalSymbols - TODO: what is type here?