summary refs log tree commit diff
path: root/gateway/src/opcodes/Identify.ts
diff options
context:
space:
mode:
authorChrisChrome <christophercookman@gmail.com>2022-08-10 02:53:29 -0600
committerChrisChrome <christophercookman@gmail.com>2022-08-10 02:53:29 -0600
commit4f6e59e936dd9dfc10bebe7ac10dea8c0d96e6ec (patch)
tree97fedea7cac1c8e918e4628fe171b3257b792a71 /gateway/src/opcodes/Identify.ts
parentMake sigterm exit after 3 seconds to resolve hang under systemd (diff)
downloadserver-4f6e59e936dd9dfc10bebe7ac10dea8c0d96e6ec.tar.xz
Add basic developer panel functionality - doesn't work yet
>
>
> Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'gateway/src/opcodes/Identify.ts')
-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