Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
custom_profile_fields: Handle user type fields set to unknown users.
Sahil Batra2c331f06649d
diff --git a/web/src/custom_profile_fields_ui.js b/web/src/custom_profile_fields_ui.jsindex 6045a506014..088447b0b34 100644--- a/web/src/custom_profile_fields_ui.js+++ b/web/src/custom_profile_fields_ui.js@@ -99,7 +99,7 @@ export function initialize_custom_user_type_fields(const field_value = JSON.parse(field_value_raw);if (field_value) {for (const pill_user_id of field_value) {- const user = people.get_by_user_id(pill_user_id);+ const user = people.get_user_by_id_assert_valid(pill_user_id);user_pill.append_user(user, pills);}}