mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 06:32:34 +00:00
Correct opcode
This commit is contained in:
1 parent
e1153f43f5
commit
5b863a11f2
1 file changed
+1
-1
@@ -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