summary refs log tree commit diff
path: root/util/src/entities/User.ts
diff options
context:
space:
mode:
authorFeatyre <twooter.0g179@simplelogin.co>2022-01-24 07:21:48 +0000
committerFeatyre <twooter.0g179@simplelogin.co>2022-01-24 07:21:48 +0000
commite3f20f849d089493328314ad7d7518eaea3d862a (patch)
tree294774d318a7baf80f271e71a4346d26523f432d /util/src/entities/User.ts
parentMerge branch 'fosscord:master' into master (diff)
downloadserver-e3f20f849d089493328314ad7d7518eaea3d862a.tar.xz
category + discovery + custom status fix, new config
Diffstat (limited to 'util/src/entities/User.ts')
-rw-r--r--util/src/entities/User.ts9
1 files changed, 2 insertions, 7 deletions
diff --git a/util/src/entities/User.ts b/util/src/entities/User.ts
index 5f2618e0..1027331a 100644
--- a/util/src/entities/User.ts
+++ b/util/src/entities/User.ts
@@ -289,12 +289,7 @@ export const defaultSettings: UserSettings = {
 	animate_stickers: 0,
 	contact_sync_enabled: false,
 	convert_emoticons: false,
-	custom_status: {
-		emoji_id: undefined,
-		emoji_name: undefined,
-		expires_at: undefined,
-		text: undefined,
-	},
+	custom_status: null,
 	default_guilds_restricted: false,
 	detect_platform_accounts: true,
 	developer_mode: false,
@@ -334,7 +329,7 @@ export interface UserSettings {
 		emoji_name?: string;
 		expires_at?: number;
 		text?: string;
-	};
+	} | null;
 	default_guilds_restricted: boolean;
 	detect_platform_accounts: boolean;
 	developer_mode: boolean;