mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-03 19:33:54 +00:00
Correct opcode
This commit is contained in:
@@ -28,7 +28,7 @@ export async function onClose(this: WebRtcWebSocket, code: number, reason: strin
|
||||
|
||||
for (const client of connectedClients) {
|
||||
await Send(client.websocket, {
|
||||
op: VoiceOPCodes.CLIENTS_CONNECT,
|
||||
op: VoiceOPCodes.CLIENT_DISCONNECT,
|
||||
d: {
|
||||
user_id: this.user_id,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user