summary refs log tree commit diff
path: root/src/gateway
diff options
context:
space:
mode:
authorChrisChrome <christophercookman@gmail.com>2022-08-10 02:53:29 -0600
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-18 22:40:25 +1100
commit245127f65129455c7ec3d3860150c42160cc0e8d (patch)
tree0ebe91d0cad9383b3a2e47cb1bee148332ffcdf6 /src/gateway
parentRemove some old test logs that expose info to console (diff)
downloadserver-245127f65129455c7ec3d3860150c42160cc0e8d.tar.xz
Add basic developer panel functionality - doesn't work yet
>
>
> Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'src/gateway')
-rw-r--r--src/gateway/opcodes/Identify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts

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