diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-02 20:10:25 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-02 20:10:25 +0200 |
commit | 2ba4c21f6b62c0ee8c2db06d36d489c6b6b20155 (patch) | |
tree | e50f93f1aa3148cd51a5e56bc45c7560e8f3c11d /gateway/src/opcodes/Identify.ts | |
parent | VOICE_STATE_UPDATE implementation, fix #210 (diff) | |
download | server-2ba4c21f6b62c0ee8c2db06d36d489c6b6b20155.tar.xz |
:art: reformat files
Diffstat (limited to 'gateway/src/opcodes/Identify.ts')
-rw-r--r-- | gateway/src/opcodes/Identify.ts | 7 |
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 |