summary refs log tree commit diff
path: root/gateway/src/opcodes/Identify.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-02 20:10:25 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-02 20:10:25 +0200
commit8092216343c4b0b292f027b1f9c6a2ad8cd406bb (patch)
tree23222a81ae0f22b65e2aa3261447c73be3ed98a2 /gateway/src/opcodes/Identify.ts
parentVOICE_STATE_UPDATE implementation, fix #210 (diff)
downloadserver-ts-8092216343c4b0b292f027b1f9c6a2ad8cd406bb.tar.xz
:art: reformat files
Diffstat (limited to 'gateway/src/opcodes/Identify.ts')
-rw-r--r--gateway/src/opcodes/Identify.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts

index 3984be73..f1d96959 100644 --- a/gateway/src/opcodes/Identify.ts +++ b/gateway/src/opcodes/Identify.ts
@@ -80,11 +80,12 @@ export async function onIdentify(this: WebSocket, data: Payload) { user_id: this.user_id, session_id: session_id, status: "online", //does the session always start as online? - client_info: { //TODO read from identity + client_info: { + //TODO read from identity client: "desktop", os: "linux", - version: 0 - } + version: 0, + }, }); //We save the session and we delete it when the websocket is closed