summary refs log tree commit diff
path: root/gateway/src/opcodes/Identify.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-27 11:11:16 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-27 11:11:16 +0200
commit845e77eed21d5e03994978ddee0ca0c613234b3f (patch)
tree75beee1614c80f1c8acd744aaeb02db68f46b2ac /gateway/src/opcodes/Identify.ts
parent:construction: api (diff)
downloadserver-845e77eed21d5e03994978ddee0ca0c613234b3f.tar.xz
:construction: typeorm
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 464d584c..644d0984 100644
--- a/gateway/src/opcodes/Identify.ts
+++ b/gateway/src/opcodes/Identify.ts
@@ -106,7 +106,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
 		}),
 		guild_experiments: [], // TODO
 		geo_ordered_rtc_regions: [], // TODO
-		relationships: user.user_data.relationships,
+		relationships: user.data.relationships,
 		read_state: {
 			// TODO
 			entries: [],