summary refs log tree commit diff
path: root/src/opcodes
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-31 00:51:54 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-31 00:51:54 +0200
commite12197d568d24d6fb942916c06e356d0ca39f611 (patch)
treee755cd69f75069159f3dffd3df229eaef6be9fa4 /src/opcodes
parent:sparkles: relationships (diff)
downloadserver-e12197d568d24d6fb942916c06e356d0ca39f611.tar.xz
:art: create start.ts
Diffstat (limited to 'src/opcodes')
-rw-r--r--src/opcodes/Identify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opcodes/Identify.ts b/src/opcodes/Identify.ts

index d21041cc..1a136dd3 100644 --- a/src/opcodes/Identify.ts +++ b/src/opcodes/Identify.ts
@@ -62,7 +62,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { }) as MemberDocument[][]; const user_guild_settings_entries = members.map((x) => x.settings); - const channels = await ChannelModel.find({ recipients: this.user_id }).exec(); + const channels = await ChannelModel.find({ recipient_ids: this.user_id }).exec(); const user = await UserModel.findOne({ id: this.user_id }).exec(); if (!user) return this.close(CLOSECODES.Authentication_failed);