summary refs log tree commit diff
path: root/gateway/src
diff options
context:
space:
mode:
authorChris Chrome <christophercookman@gmail.com>2022-08-13 00:24:39 -0600
committerGitHub <noreply@github.com>2022-08-13 00:24:39 -0600
commita7565ea37d80d45c613093048b5bf89ae49457e5 (patch)
treecc545cc3a6b4fc9c8112b9daa7ff76dc26f0d528 /gateway/src
parentUpdate index.ts (diff)
parentHandle avatar uploads (diff)
downloadserver-a7565ea37d80d45c613093048b5bf89ae49457e5.tar.xz
Merge pull request #830 from fosscord/dev/applications
Bot control panel
Diffstat (limited to 'gateway/src')
-rw-r--r--gateway/src/opcodes/Identify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts

index ca081d02..03fff796 100644 --- a/gateway/src/opcodes/Identify.ts +++ b/gateway/src/opcodes/Identify.ts
@@ -232,7 +232,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { const d: ReadyEventData = { v: 8, - application: {id: application?.id??'', flags: application?.flags??''}, //TODO: check this code! + application: {id: application?.id??'', flags: application?.flags??0}, //TODO: check this code! user: privateUser, user_settings: user.settings, // @ts-ignore