summary refs log tree commit diff
path: root/gateway/src/opcodes
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-17 00:57:31 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-17 00:57:31 +0200
commit9fa1081803bb4e0cc043cd554b8c1d67f7ae5e68 (patch)
treea3fbe9c35ac03775f83957f10a8f26efad099a24 /gateway/src/opcodes
parent:sparkles: add presence migration (diff)
downloadserver-9fa1081803bb4e0cc043cd554b8c1d67f7ae5e68.tar.xz
:bug: default session activites
Diffstat (limited to 'gateway/src/opcodes')
-rw-r--r--gateway/src/opcodes/Identify.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts
index bd7fc894..f39ac808 100644
--- a/gateway/src/opcodes/Identify.ts
+++ b/gateway/src/opcodes/Identify.ts
@@ -94,6 +94,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
 					os: identify.properties?.os,
 					version: 0,
 				},
+				activities: [],
 			}).save(),
 			Application.findOne({ id: this.user_id }),
 		]);