diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-13 22:14:22 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-15 06:13:50 +0200 |
commit | 6d3706c2c8efda6e170eac2081a60f41a09bb41f (patch) | |
tree | a40a7e505f9cf22a63d7bd1fa8c97b65e3122227 /src/gateway | |
parent | Do the funny thing (make user->invite cascade delet) (diff) | |
download | server-6d3706c2c8efda6e170eac2081a60f41a09bb41f.tar.xz |
Fix rebase conflicts
Diffstat (limited to 'src/gateway')
-rw-r--r-- | src/gateway/opcodes/Identify.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts index 4f17ab70..d5dae7b0 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts @@ -108,7 +108,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { await user.settings.save(); } - if (!identify.intents) identify.intents = "0x6ffffffff" + if (!identify.intents) identify.intents = "30064771071"; this.intents = new Intents(identify.intents); if (identify.shard) { this.shard_id = identify.shard[0]; @@ -238,7 +238,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 |