summary refs log tree commit diff
path: root/src/util/schemas/IdentifySchema.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-31 12:16:15 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-31 12:16:15 +1100
commit1cacd4413a2129c054b71fed1bb989cecbd7b591 (patch)
tree1e58ec174674974ed911cc7dd149627b410be546 /src/util/schemas/IdentifySchema.ts
parentSentry stuff? (diff)
downloadserver-1cacd4413a2129c054b71fed1bb989cecbd7b591.tar.xz
Add `private_channels_version` to `client_state` in identity. also set sentry user in gateway
Diffstat (limited to 'src/util/schemas/IdentifySchema.ts')
-rw-r--r--src/util/schemas/IdentifySchema.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/schemas/IdentifySchema.ts b/src/util/schemas/IdentifySchema.ts
index 409a03da..848ea0a6 100644
--- a/src/util/schemas/IdentifySchema.ts
+++ b/src/util/schemas/IdentifySchema.ts
@@ -43,6 +43,7 @@ export const IdentifySchema = {
 		$user_guild_settings_version: Number,
 		$user_settings_version: undefined,
 		$useruser_guild_settings_version: undefined,
+		$private_channels_version: Number,
 	},
 	$clientState: {
 		$guildHashes: Object,
@@ -94,6 +95,7 @@ export interface IdentifySchema {
 		user_guild_settings_version?: number;
 		user_settings_version?: number;
 		useruser_guild_settings_version?: number;
+		private_channels_version?: number;
 	};
 	clientState?: {
 		guildHashes?: any;