Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_settings: Restore missing members.
Anders Kaseorg7f49a4f0bd3c
diff --git a/web/src/settings_preferences.ts b/web/src/settings_preferences.tsindex 4a22464462e..99a4f0f7106 100644--- a/web/src/settings_preferences.ts+++ b/web/src/settings_preferences.ts@@ -27,7 +27,10 @@ type SettingsPanel = {notification_sound_elem: string | null;};-type UserSettingsProperty = keyof UserSettings;+type UserSettingsProperty = Exclude<+ keyof UserSettings,+ "available_notification_sounds" | "emojiset_choices"+>;const meta = {loaded: false,diff --git a/web/src/user_settings.ts b/web/src/user_settings.tsindex 3ac08102475..e4c3a87106c 100644--- a/web/src/user_settings.ts+++ b/web/src/user_settings.ts@@ -37,14 +37,17 @@ export const user_settings_schema = stream_notification_settings_schemaautomatically_follow_topics_policy: z.number(),automatically_follow_topics_where_mentioned: z.boolean(),automatically_unmute_topics_in_muted_streams_policy: z.number(),+ available_notification_sounds: z.array(z.string()),color_scheme: z.number(),default_language: z.string(),demote_inactive_streams: z.number(),dense_mode: z.boolean(),desktop_icon_count_display: z.number(),display_emoji_reaction_users: z.boolean(),+ email_address_visibility: z.number(),email_notifications_batching_period_seconds: z.number(),emojiset: z.string(),+ emojiset_choices: z.array(z.object({key: z.string(), text: z.string()})),enable_digest_emails: z.boolean(),enable_drafts_synchronization: z.boolean(),enable_login_emails: z.boolean(),@@ -53,6 +56,7 @@ export const user_settings_schema = stream_notification_settings_schemaenter_sends: z.boolean(),fluid_layout_width: z.boolean(),high_contrast_mode: z.boolean(),+ left_side_userlist: z.boolean(),message_content_in_email_notifications: z.boolean(),notification_sound: z.string(),pm_content_in_desktop_notifications: z.boolean(),