summary refs log tree commit diff
path: root/src/gateway/opcodes/Identify.ts
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
commit1cadcda249875f5c7a6b1c921701b564af99e3e2 (patch)
tree4d17ebc42c6fe7b4475aa97c8510ed59a99c6431 /src/gateway/opcodes/Identify.ts
parentRemove some old test logs that expose info to console (diff)
downloadserver-1cadcda249875f5c7a6b1c921701b564af99e3e2.tar.xz
Add basic developer panel functionality - doesn't work yet
>
>
> Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'src/gateway/opcodes/Identify.ts')
-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